Package com.pulumi.aws.cloudformation
Class CloudFormationTypeArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudformation.CloudFormationTypeArgs.Builder
-
- Enclosing class:
- CloudFormationTypeArgs
public static final class CloudFormationTypeArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(CloudFormationTypeArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CloudFormationTypeArgs defaults)
-
-
Method Detail
-
executionRoleArn
public CloudFormationTypeArgs.Builder executionRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> executionRoleArn)
- Parameters:
executionRoleArn- ARN of the IAM Role for CloudFormation to assume when invoking the extension. If your extension calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the extension handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the extension handler, thereby supplying your extension with the appropriate credentials.- Returns:
- builder
-
executionRoleArn
public CloudFormationTypeArgs.Builder executionRoleArn(java.lang.String executionRoleArn)
- Parameters:
executionRoleArn- ARN of the IAM Role for CloudFormation to assume when invoking the extension. If your extension calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the extension handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the extension handler, thereby supplying your extension with the appropriate credentials.- Returns:
- builder
-
loggingConfig
public CloudFormationTypeArgs.Builder loggingConfig(@Nullable com.pulumi.core.Output<CloudFormationTypeLoggingConfigArgs> loggingConfig)
- Parameters:
loggingConfig- Configuration block containing logging configuration.- Returns:
- builder
-
loggingConfig
public CloudFormationTypeArgs.Builder loggingConfig(CloudFormationTypeLoggingConfigArgs loggingConfig)
- Parameters:
loggingConfig- Configuration block containing logging configuration.- Returns:
- builder
-
region
public CloudFormationTypeArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public CloudFormationTypeArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
schemaHandlerPackage
public CloudFormationTypeArgs.Builder schemaHandlerPackage(com.pulumi.core.Output<java.lang.String> schemaHandlerPackage)
- Parameters:
schemaHandlerPackage- URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. Must begin with `s3://` or `https://`. For example, `s3://example-bucket/example-object`.- Returns:
- builder
-
schemaHandlerPackage
public CloudFormationTypeArgs.Builder schemaHandlerPackage(java.lang.String schemaHandlerPackage)
- Parameters:
schemaHandlerPackage- URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. Must begin with `s3://` or `https://`. For example, `s3://example-bucket/example-object`.- Returns:
- builder
-
type
public CloudFormationTypeArgs.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- CloudFormation Registry Type. For example, `RESOURCE` or `MODULE`.- Returns:
- builder
-
type
public CloudFormationTypeArgs.Builder type(java.lang.String type)
- Parameters:
type- CloudFormation Registry Type. For example, `RESOURCE` or `MODULE`.- Returns:
- builder
-
typeName
public CloudFormationTypeArgs.Builder typeName(com.pulumi.core.Output<java.lang.String> typeName)
- Parameters:
typeName- CloudFormation Type name. For example, `ExampleCompany::ExampleService::ExampleResource`.- Returns:
- builder
-
typeName
public CloudFormationTypeArgs.Builder typeName(java.lang.String typeName)
- Parameters:
typeName- CloudFormation Type name. For example, `ExampleCompany::ExampleService::ExampleResource`.- Returns:
- builder
-
build
public CloudFormationTypeArgs build()
-
-