CfnLandingZoneProps Struct
Properties for defining a CfnLandingZone.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_controltower as controltower } from 'aws-cdk-lib';
declare const manifest: any;
const cfnLandingZoneProps: controltower.CfnLandingZoneProps = {
manifest: manifest,
version: 'version',
// the properties below are optional
remediationTypes: ['remediationTypes'],
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_controltower as controltower
# manifest: Any
cfn_landing_zone_props = controltower.CfnLandingZoneProps(
manifest=manifest,
version="version",
# the properties below are optional
remediation_types=["remediationTypes"],
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.controltower.*;
Object manifest;
CfnLandingZoneProps cfnLandingZoneProps = CfnLandingZoneProps.builder()
.manifest(manifest)
.version("version")
// the properties below are optional
.remediationTypes(List.of("remediationTypes"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ControlTower;
var manifest;
var cfnLandingZoneProps = new CfnLandingZoneProps {
Manifest = manifest,
Version = "version",
// the properties below are optional
RemediationTypes = new [] { "remediationTypes" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var manifest interface{}
cfnLandingZoneProps := &CfnLandingZoneProps{
Manifest: manifest,
Version: jsii.String("version"),
// the properties below are optional
RemediationTypes: []*string{
jsii.String("remediationTypes"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
The landing zone manifest JSON text file that specifies the landing zone configurations.
remediationTypesoptionalstring[]remediation_typesoptionaltyping.List[str]remediationTypesoptionalList<String>RemediationTypesoptionalstring[]RemediationTypesoptional*[]*string #The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #Tags to be applied to the landing zone.
The landing zone's current deployed version.