CfnOutpostProps Struct
Properties for defining a CfnOutpost.
| 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_outposts as outposts } from 'aws-cdk-lib';
const cfnOutpostProps: outposts.CfnOutpostProps = {
name: 'name',
siteId: 'siteId',
// the properties below are optional
availabilityZone: 'availabilityZone',
availabilityZoneId: 'availabilityZoneId',
description: 'description',
supportedHardwareType: 'supportedHardwareType',
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_outposts as outposts
cfn_outpost_props = outposts.CfnOutpostProps(
name="name",
site_id="siteId",
# the properties below are optional
availability_zone="availabilityZone",
availability_zone_id="availabilityZoneId",
description="description",
supported_hardware_type="supportedHardwareType",
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.outposts.*;
CfnOutpostProps cfnOutpostProps = CfnOutpostProps.builder()
.name("name")
.siteId("siteId")
// the properties below are optional
.availabilityZone("availabilityZone")
.availabilityZoneId("availabilityZoneId")
.description("description")
.supportedHardwareType("supportedHardwareType")
.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.Outposts;
var cfnOutpostProps = new CfnOutpostProps {
Name = "name",
SiteId = "siteId",
// the properties below are optional
AvailabilityZone = "availabilityZone",
AvailabilityZoneId = "availabilityZoneId",
Description = "description",
SupportedHardwareType = "supportedHardwareType",
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"
cfnOutpostProps := &CfnOutpostProps{
Name: jsii.String("name"),
SiteId: jsii.String("siteId"),
// the properties below are optional
AvailabilityZone: jsii.String("availabilityZone"),
AvailabilityZoneId: jsii.String("availabilityZoneId"),
Description: jsii.String("description"),
SupportedHardwareType: jsii.String("supportedHardwareType"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
availabilityZoneoptionalstringavailability_zoneoptionalstravailabilityZoneoptionalStringAvailabilityZoneoptionalstringAvailabilityZoneoptional*string #availabilityZoneIdoptionalstringavailability_zone_idoptionalstravailabilityZoneIdoptionalStringAvailabilityZoneIdoptionalstringAvailabilityZoneIdoptional*string #descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #supportedHardwareTypeoptionalstringsupported_hardware_typeoptionalstrsupportedHardwareTypeoptionalStringSupportedHardwareTypeoptionalstringSupportedHardwareTypeoptional*string #