Documentation ¶
Index ¶
- func GlobalNetwork_IsConstruct(x interface{}) *bool
- func GlobalNetwork_IsOwnedResource(construct constructs.IConstruct) *bool
- func GlobalNetwork_IsResource(construct constructs.IConstruct) *bool
- func NewGlobalNetwork_Override(g GlobalNetwork, scope constructs.IConstruct, id *string, ...)
- func NewSite_Override(s Site, scope constructs.IConstruct, id *string, props *SiteProps)
- func NewTransitGatewayRegistration_Override(t TransitGatewayRegistration, scope constructs.IConstruct, id *string, ...)
- func Site_IsConstruct(x interface{}) *bool
- func Site_IsOwnedResource(construct constructs.IConstruct) *bool
- func Site_IsResource(construct constructs.IConstruct) *bool
- func TransitGatewayRegistration_IsConstruct(x interface{}) *bool
- func TransitGatewayRegistration_IsOwnedResource(construct constructs.IConstruct) *bool
- func TransitGatewayRegistration_IsResource(construct constructs.IConstruct) *bool
- type GlobalNetwork
- type GlobalNetworkProps
- type IGlobalNetwork
- type ISite
- type ITransitGatewayRegistration
- type RegisterTransitGatewayProps
- type Site
- type SiteProps
- type TransitGatewayRegistration
- type TransitGatewayRegistrationProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalNetwork_IsConstruct ¶
func GlobalNetwork_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func GlobalNetwork_IsOwnedResource ¶
func GlobalNetwork_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func GlobalNetwork_IsResource ¶
func GlobalNetwork_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func NewGlobalNetwork_Override ¶
func NewGlobalNetwork_Override(g GlobalNetwork, scope constructs.IConstruct, id *string, props *GlobalNetworkProps)
func NewSite_Override ¶
func NewTransitGatewayRegistration_Override ¶
func NewTransitGatewayRegistration_Override(t TransitGatewayRegistration, scope constructs.IConstruct, id *string, props *TransitGatewayRegistrationProps)
func Site_IsConstruct ¶
func Site_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func Site_IsOwnedResource ¶
func Site_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func Site_IsResource ¶
func Site_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func TransitGatewayRegistration_IsConstruct ¶
func TransitGatewayRegistration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func TransitGatewayRegistration_IsOwnedResource ¶
func TransitGatewayRegistration_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func TransitGatewayRegistration_IsResource ¶
func TransitGatewayRegistration_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
Types ¶
type GlobalNetwork ¶
type GlobalNetwork interface { awscdk.Resource IGlobalNetwork Description() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment GlobalNetworkArn() *string GlobalNetworkId() *string // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string Resource() awsnetworkmanager.CfnGlobalNetwork // The stack in which this resource is defined. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string RegisterTransitGateway(id *string, options *RegisterTransitGatewayProps) ITransitGatewayRegistration // Returns a string representation of this construct. ToString() *string }
func NewGlobalNetwork ¶
func NewGlobalNetwork(scope constructs.IConstruct, id *string, props *GlobalNetworkProps) GlobalNetwork
type GlobalNetworkProps ¶
type GlobalNetworkProps struct { // The AWS account ID this resource belongs to. // Default: - the resource is in the same account as the stack it belongs to. // Account *string `field:"optional" json:"account" yaml:"account"` // ARN to deduce region and account from. // // The ARN is parsed and the account and region are taken from the ARN. // This should be used for imported resources. // // Cannot be supplied together with either `account` or `region`. // Default: - take environment from `account`, `region` parameters, or use Stack environment. // EnvironmentFromArn *string `field:"optional" json:"environmentFromArn" yaml:"environmentFromArn"` // The value passed in by users to the physical name prop of the resource. // // - `undefined` implies that a physical name will be allocated by // CloudFormation during deployment. // - a concrete value implies a specific physical name // - `PhysicalName.GENERATE_IF_NEEDED` is a marker that indicates that a physical will only be generated // by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation. // Default: - The physical name will be allocated by CloudFormation at deployment time. // PhysicalName *string `field:"optional" json:"physicalName" yaml:"physicalName"` // The AWS region this resource belongs to. // Default: - the resource is in the same region as the stack it belongs to. // Region *string `field:"optional" json:"region" yaml:"region"` Description *string `field:"optional" json:"description" yaml:"description"` }
type IGlobalNetwork ¶
type ITransitGatewayRegistration ¶
type ITransitGatewayRegistration interface { }
type RegisterTransitGatewayProps ¶
type RegisterTransitGatewayProps struct {
TransitGateway ec2.ITransitGateway `field:"required" json:"transitGateway" yaml:"transitGateway"`
}
type Site ¶
type Site interface { awscdk.Resource ISite Address() *string Description() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment GlobalNetwork() IGlobalNetwork Latitude() *string Longitude() *string // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string Resource() awsnetworkmanager.CfnSite SiteArn() *string SiteId() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
type SiteProps ¶
type SiteProps struct { // The AWS account ID this resource belongs to. // Default: - the resource is in the same account as the stack it belongs to. // Account *string `field:"optional" json:"account" yaml:"account"` // ARN to deduce region and account from. // // The ARN is parsed and the account and region are taken from the ARN. // This should be used for imported resources. // // Cannot be supplied together with either `account` or `region`. // Default: - take environment from `account`, `region` parameters, or use Stack environment. // EnvironmentFromArn *string `field:"optional" json:"environmentFromArn" yaml:"environmentFromArn"` // The value passed in by users to the physical name prop of the resource. // // - `undefined` implies that a physical name will be allocated by // CloudFormation during deployment. // - a concrete value implies a specific physical name // - `PhysicalName.GENERATE_IF_NEEDED` is a marker that indicates that a physical will only be generated // by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation. // Default: - The physical name will be allocated by CloudFormation at deployment time. // PhysicalName *string `field:"optional" json:"physicalName" yaml:"physicalName"` // The AWS region this resource belongs to. // Default: - the resource is in the same region as the stack it belongs to. // Region *string `field:"optional" json:"region" yaml:"region"` GlobalNetwork IGlobalNetwork `field:"required" json:"globalNetwork" yaml:"globalNetwork"` Address *string `field:"optional" json:"address" yaml:"address"` Description *string `field:"optional" json:"description" yaml:"description"` Latitude *string `field:"optional" json:"latitude" yaml:"latitude"` Longitude *string `field:"optional" json:"longitude" yaml:"longitude"` }
type TransitGatewayRegistration ¶
type TransitGatewayRegistration interface { awscdk.Resource ITransitGatewayRegistration // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment GlobalNetwork() IGlobalNetwork // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string Resource() awsnetworkmanager.CfnTransitGatewayRegistration // The stack in which this resource is defined. Stack() awscdk.Stack TransitGateway() ec2.ITransitGateway // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
func NewTransitGatewayRegistration ¶
func NewTransitGatewayRegistration(scope constructs.IConstruct, id *string, props *TransitGatewayRegistrationProps) TransitGatewayRegistration
type TransitGatewayRegistrationProps ¶
type TransitGatewayRegistrationProps struct { // The AWS account ID this resource belongs to. // Default: - the resource is in the same account as the stack it belongs to. // Account *string `field:"optional" json:"account" yaml:"account"` // ARN to deduce region and account from. // // The ARN is parsed and the account and region are taken from the ARN. // This should be used for imported resources. // // Cannot be supplied together with either `account` or `region`. // Default: - take environment from `account`, `region` parameters, or use Stack environment. // EnvironmentFromArn *string `field:"optional" json:"environmentFromArn" yaml:"environmentFromArn"` // The value passed in by users to the physical name prop of the resource. // // - `undefined` implies that a physical name will be allocated by // CloudFormation during deployment. // - a concrete value implies a specific physical name // - `PhysicalName.GENERATE_IF_NEEDED` is a marker that indicates that a physical will only be generated // by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation. // Default: - The physical name will be allocated by CloudFormation at deployment time. // PhysicalName *string `field:"optional" json:"physicalName" yaml:"physicalName"` // The AWS region this resource belongs to. // Default: - the resource is in the same region as the stack it belongs to. // Region *string `field:"optional" json:"region" yaml:"region"` GlobalNetwork IGlobalNetwork `field:"required" json:"globalNetwork" yaml:"globalNetwork"` TransitGateway ec2.ITransitGateway `field:"required" json:"transitGateway" yaml:"transitGateway"` }
Source Files ¶
- GlobalNetwork.go
- GlobalNetworkProps.go
- GlobalNetwork__checks.go
- IGlobalNetwork.go
- ISite.go
- ITransitGatewayRegistration.go
- RegisterTransitGatewayProps.go
- Site.go
- SiteProps.go
- Site__checks.go
- TransitGatewayRegistration.go
- TransitGatewayRegistrationProps.go
- TransitGatewayRegistration__checks.go
- main.go