Skip to content
v2.278.0

CfnGlobalNetworkProps Struct ​

Properties for defining a CfnGlobalNetwork.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const cfnGlobalNetworkProps: networkmanager.CfnGlobalNetworkProps = {
  createdAt: 'createdAt',
  description: 'description',
  state: 'state',
  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_networkmanager as networkmanager

cfn_global_network_props = networkmanager.CfnGlobalNetworkProps(
    created_at="createdAt",
    description="description",
    state="state",
    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.networkmanager.*;

CfnGlobalNetworkProps cfnGlobalNetworkProps = CfnGlobalNetworkProps.builder()
        .createdAt("createdAt")
        .description("description")
        .state("state")
        .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.NetworkManager;

var cfnGlobalNetworkProps = new CfnGlobalNetworkProps {
    CreatedAt = "createdAt",
    Description = "description",
    State = "state",
    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"

cfnGlobalNetworkProps := &CfnGlobalNetworkProps{
	CreatedAt: jsii.String("createdAt"),
	Description: jsii.String("description"),
	State: jsii.String("state"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

createdAtoptionalstringcreated_atoptionalstrcreatedAtoptionalStringCreatedAtoptionalstringCreatedAtoptional*string #
The date and time that the global network was created.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A description of the global network.

Constraints: Maximum length of 256 characters.

stateoptionalstringstateoptionalstrstateoptionalStringStateoptionalstringStateoptional*string #
The state of the global network.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags for the global network.