CloudFormationStack constructor
CloudFormationStack(
- String name, {
- CloudFormationStackArgs? args,
- CustomResourceOptions? options,
Creates a new CloudFormationStack.
name The Pulumi resource name.
args Arguments used to configure this CloudFormationStack. The set of arguments for CloudFormationStack.
options Resource options controlling this resource's behavior.
Implementation
CloudFormationStack(
String name, {
CloudFormationStackArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:serverlessrepository/cloudFormationStack:CloudFormationStack',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
applicationId = registerOutput<String>('applicationId');
capabilities = registerOutput<List<String>>('capabilities', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
this.name = registerOutput<String>('name');
outputs = registerOutput<Map<String, String>>('outputs', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
parameters = registerOutput<Map<String, String>>('parameters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
region = registerOutput<String>('region');
semanticVersion = registerOutput<String>('semanticVersion');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}