Class CustomResourcesOptions.Builder
java.lang.Object
software.amazon.awscdk.app.staging.synthesizer.alpha.CustomResourcesOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomResourcesOptions>
- Enclosing interface:
CustomResourcesOptions
@Stability(Experimental)
public static final class CustomResourcesOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CustomResourcesOptions>
A builder for
CustomResourcesOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapQualifier
(String bootstrapQualifier) Sets the value ofAppStagingSynthesizerOptions.getBootstrapQualifier()
build()
Builds the configured instance.deploymentIdentities
(DeploymentIdentities deploymentIdentities) Sets the value ofAppStagingSynthesizerOptions.getDeploymentIdentities()
resources
(IStagingResources resources) Sets the value ofCustomResourcesOptions.getResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resources
@Stability(Experimental) public CustomResourcesOptions.Builder resources(IStagingResources resources) Sets the value ofCustomResourcesOptions.getResources()
- Parameters:
resources
- Use these exact staging resources for every stack that this synthesizer is used for. This parameter is required.- Returns:
this
-
bootstrapQualifier
@Stability(Experimental) public CustomResourcesOptions.Builder bootstrapQualifier(String bootstrapQualifier) Sets the value ofAppStagingSynthesizerOptions.getBootstrapQualifier()
- Parameters:
bootstrapQualifier
- Qualifier to disambiguate multiple bootstrapped environments in the same account. This qualifier is only used to reference bootstrapped resources. It will not be used in the creation of app-specific staging resources:appId
is used for that instead.- Returns:
this
-
deploymentIdentities
@Stability(Experimental) public CustomResourcesOptions.Builder deploymentIdentities(DeploymentIdentities deploymentIdentities) Sets the value ofAppStagingSynthesizerOptions.getDeploymentIdentities()
- Parameters:
deploymentIdentities
- What roles to use to deploy applications. These are the roles that have permissions to interact with CloudFormation on your behalf. By default these are the standard bootstrapped CDK roles, but you can customize them or turn them off and use the CLI credentials to deploy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CustomResourcesOptions>
- Returns:
- a new instance of
CustomResourcesOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-