Share via


CloudFormationExtensions Class

Definition

Extension methods for adding AWS CloudFormation as a provisioning resource.

public static class CloudFormationExtensions
type CloudFormationExtensions = class
Public Module CloudFormationExtensions
Inheritance
CloudFormationExtensions

Methods

AddAWSCloudFormationStack(IDistributedApplicationBuilder, String)

Add a CloudFormation stack for provisioning application resources.

AddAWSCloudFormationTemplate(IDistributedApplicationBuilder, String, String)

Add a CloudFormation stack for provisioning application resources.

GetOutput(IResourceBuilder<ICloudFormationResource>, String)

Gets a reference to a output from the CloudFormation stack.

WithEnvironment<T>(IResourceBuilder<T>, String, StackOutputReference)

Adds an environment variable to the resource with the value of the output from the CloudFormation stack.

WithParameter(IResourceBuilder<ICloudFormationTemplateResource>, String, String)

Add parameters to be provided to CloudFormation when creating the stack for the template.

WithReference(IResourceBuilder<ICloudFormationStackResource>, IAmazonCloudFormation)

Override the CloudFormation service client the ICloudFormationStackResource would create to interact with the CloudFormation service. This can be used for pointing the CloudFormation service client to a non-standard CloudFormation endpoint like an emulator.

WithReference(IResourceBuilder<ICloudFormationStackResource>, IAWSSDKConfig)

The AWS SDK service client configuration used to create the CloudFormation service client.

WithReference(IResourceBuilder<ICloudFormationTemplateResource>, IAmazonCloudFormation)

Override the CloudFormation service client the ICloudFormationTemplateResource would create to interact with the CloudFormation service. This can be used for pointing the CloudFormation service client to a non-standard CloudFormation endpoint like an emulator.

WithReference(IResourceBuilder<ICloudFormationTemplateResource>, IAWSSDKConfig)

The AWS SDK service client configuration used to create the CloudFormation service client.

WithReference<TDestination>(IResourceBuilder<TDestination>, IResourceBuilder<ICloudFormationResource>, String)

Add a reference of a CloudFormations stack to a project. The output parameters of the CloudFormation stack are added to the project IConfiguration.

Applies to