GoogleBigtableInstance constructor
GoogleBigtableInstance({
- required String localName,
- required TfArg<
String> name, - List<
BigtableInstanceCluster> ? cluster, - TfArg<
String> ? displayName, - TfArg<
BigtableInstanceType> ? instanceType, - TfArg<
BigtableInstanceEdition> ? edition, - TfArg<
Map< ? labels,String, String> > - TfArg<
String> ? deletionPolicy, - TfArg<
bool> ? deletionProtection, - TfArg<
bool> ? forceDestroy, - TfArg<
String> ? project, - LifecycleOptions? lifecycle,
- List<
DependencyTarget> ? dependsOn,
Implementation
GoogleBigtableInstance({
required super.localName,
required TfArg<String> name,
List<BigtableInstanceCluster>? cluster,
TfArg<String>? displayName,
TfArg<BigtableInstanceType>? instanceType,
TfArg<BigtableInstanceEdition>? edition,
TfArg<Map<String, String>>? labels,
TfArg<String>? deletionPolicy,
TfArg<bool>? deletionProtection,
TfArg<bool>? forceDestroy,
TfArg<String>? project,
super.lifecycle,
super.dependsOn,
}) : super(
terraformType: tfType,
argMap: {
'name': name,
if (cluster != null)
'cluster': TfArg.literal(
cluster.map((c) => c.toArgMap()).toList(),
),
if (displayName != null) 'display_name': displayName,
if (instanceType != null) 'instance_type': instanceType,
if (edition != null) 'edition': edition,
if (labels != null) 'labels': labels,
if (deletionPolicy != null) 'deletion_policy': deletionPolicy,
if (deletionProtection != null)
'deletion_protection': deletionProtection,
if (forceDestroy != null) 'force_destroy': forceDestroy,
if (project != null) 'project': project,
},
);