AwsServerlessapplicationrepositoryCloudformationStack constructor
AwsServerlessapplicationrepositoryCloudformationStack({
- required String localName,
- required TfArg<
String> applicationId, - List<
TfArg< ? capabilities,ServerlessapplicationrepositoryCloudformationStackCapabilities> > - required TfArg<
String> name, - TfArg<
Map< ? parameters,String, String> > - TfArg<
String> ? region, - TfArg<
String> ? semanticVersion, - TfArg<
Map< ? tags,String, String> > - LifecycleOptions? lifecycle,
- List<
DependencyTarget> ? dependsOn, - String? provider,
- TfTimeouts? timeouts,
Implementation
AwsServerlessapplicationrepositoryCloudformationStack({
required super.localName,
required TfArg<String> applicationId,
List<TfArg<ServerlessapplicationrepositoryCloudformationStackCapabilities>>?
capabilities,
required TfArg<String> name,
TfArg<Map<String, String>>? parameters,
TfArg<String>? region,
TfArg<String>? semanticVersion,
TfArg<Map<String, String>>? tags,
super.lifecycle,
super.dependsOn,
super.provider,
super.timeouts,
}) : super(
terraformType: tfType,
argMap: {
'application_id': applicationId,
if (capabilities != null)
'capabilities': TfArg.literal([
for (final e in capabilities) e.toTfJson(),
]),
'name': name,
'parameters': ?parameters,
'region': ?region,
'semantic_version': ?semanticVersion,
'tags': ?tags,
},
);