Documentation
¶
Index ¶
- func CfnVolumeAssociation_CFN_RESOURCE_TYPE_NAME() *string
- func CfnVolumeAssociation_IsCfnElement(x interface{}) *bool
- func CfnVolumeAssociation_IsCfnResource(x interface{}) *bool
- func CfnVolumeAssociation_IsConstruct(x interface{}) *bool
- func CfnVolume_CFN_RESOURCE_TYPE_NAME() *string
- func CfnVolume_IsCfnElement(x interface{}) *bool
- func CfnVolume_IsCfnResource(x interface{}) *bool
- func CfnVolume_IsConstruct(x interface{}) *bool
- func CfnWorkspaceInstance_CFN_RESOURCE_TYPE_NAME() *string
- func CfnWorkspaceInstance_IsCfnElement(x interface{}) *bool
- func CfnWorkspaceInstance_IsCfnResource(x interface{}) *bool
- func CfnWorkspaceInstance_IsConstruct(x interface{}) *bool
- func NewCfnVolumeAssociation_Override(c CfnVolumeAssociation, scope constructs.Construct, id *string, ...)
- func NewCfnVolume_Override(c CfnVolume, scope constructs.Construct, id *string, props *CfnVolumeProps)
- func NewCfnWorkspaceInstance_Override(c CfnWorkspaceInstance, scope constructs.Construct, id *string, ...)
- type CfnVolume
- type CfnVolumeAssociation
- type CfnVolumeAssociationProps
- type CfnVolumeProps
- type CfnVolume_TagSpecificationProperty
- type CfnWorkspaceInstance
- type CfnWorkspaceInstanceProps
- type CfnWorkspaceInstance_BlockDeviceMappingProperty
- type CfnWorkspaceInstance_CpuOptionsRequestProperty
- type CfnWorkspaceInstance_CreditSpecificationRequestProperty
- type CfnWorkspaceInstance_EC2ManagedInstanceProperty
- type CfnWorkspaceInstance_EbsBlockDeviceProperty
- type CfnWorkspaceInstance_EnclaveOptionsRequestProperty
- type CfnWorkspaceInstance_HibernationOptionsRequestProperty
- type CfnWorkspaceInstance_IamInstanceProfileSpecificationProperty
- type CfnWorkspaceInstance_InstanceMaintenanceOptionsRequestProperty
- type CfnWorkspaceInstance_InstanceMetadataOptionsRequestProperty
- type CfnWorkspaceInstance_InstanceNetworkInterfaceSpecificationProperty
- type CfnWorkspaceInstance_InstanceNetworkPerformanceOptionsRequestProperty
- type CfnWorkspaceInstance_ManagedInstanceProperty
- type CfnWorkspaceInstance_PlacementProperty
- type CfnWorkspaceInstance_PrivateDnsNameOptionsRequestProperty
- type CfnWorkspaceInstance_RunInstancesMonitoringEnabledProperty
- type CfnWorkspaceInstance_TagSpecificationProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnVolumeAssociation_CFN_RESOURCE_TYPE_NAME ¶
func CfnVolumeAssociation_CFN_RESOURCE_TYPE_NAME() *string
func CfnVolumeAssociation_IsCfnElement ¶
func CfnVolumeAssociation_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnVolumeAssociation_IsCfnResource ¶
func CfnVolumeAssociation_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnVolumeAssociation_IsConstruct ¶
func CfnVolumeAssociation_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnVolume_CFN_RESOURCE_TYPE_NAME ¶
func CfnVolume_CFN_RESOURCE_TYPE_NAME() *string
func CfnVolume_IsCfnElement ¶
func CfnVolume_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnVolume_IsCfnResource ¶
func CfnVolume_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnVolume_IsConstruct ¶
func CfnVolume_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnWorkspaceInstance_CFN_RESOURCE_TYPE_NAME ¶
func CfnWorkspaceInstance_CFN_RESOURCE_TYPE_NAME() *string
func CfnWorkspaceInstance_IsCfnElement ¶
func CfnWorkspaceInstance_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnWorkspaceInstance_IsCfnResource ¶
func CfnWorkspaceInstance_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnWorkspaceInstance_IsConstruct ¶
func CfnWorkspaceInstance_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnVolumeAssociation_Override ¶
func NewCfnVolumeAssociation_Override(c CfnVolumeAssociation, scope constructs.Construct, id *string, props *CfnVolumeAssociationProps)
func NewCfnVolume_Override ¶
func NewCfnVolume_Override(c CfnVolume, scope constructs.Construct, id *string, props *CfnVolumeProps)
func NewCfnWorkspaceInstance_Override ¶
func NewCfnWorkspaceInstance_Override(c CfnWorkspaceInstance, scope constructs.Construct, id *string, props *CfnWorkspaceInstanceProps)
Types ¶
type CfnVolume ¶
type CfnVolume interface { awscdk.CfnResource awscdk.IInspectable // Unique identifier for the volume. AttrVolumeId() *string // The Availability Zone in which to create the volume. AvailabilityZone() *string SetAvailabilityZone(val *string) // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // Indicates whether the volume should be encrypted. Encrypted() interface{} SetEncrypted(val interface{}) // The number of I/O operations per second (IOPS). Iops() *float64 SetIops(val *float64) // The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption. KmsKeyId() *string SetKmsKeyId(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The size of the volume, in GiBs. SizeInGb() *float64 SetSizeInGb(val *float64) // The snapshot from which to create the volume. SnapshotId() *string SetSnapshotId(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The tags passed to EBS volume. TagSpecifications() interface{} SetTagSpecifications(val interface{}) // The throughput to provision for a volume, with a maximum of 1,000 MiB/s. Throughput() *float64 SetThroughput(val *float64) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // The volume type. VolumeType() *string SetVolumeType(val *string) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // 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`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources.
Example:
// 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" cfnVolume := awscdk.Aws_workspacesinstances.NewCfnVolume(this, jsii.String("MyCfnVolume"), &CfnVolumeProps{ AvailabilityZone: jsii.String("availabilityZone"), // the properties below are optional Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), SizeInGb: jsii.Number(123), SnapshotId: jsii.String("snapshotId"), TagSpecifications: []interface{}{ &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }, }, Throughput: jsii.Number(123), VolumeType: jsii.String("volumeType"), })
func NewCfnVolume ¶
func NewCfnVolume(scope constructs.Construct, id *string, props *CfnVolumeProps) CfnVolume
type CfnVolumeAssociation ¶
type CfnVolumeAssociation interface { awscdk.CfnResource awscdk.IInspectable // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The device name for the volume attachment. Device() *string SetDevice(val *string) // Mode to use when disassociating the volume. DisassociateMode() *string SetDisassociateMode(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // ID of the volume to attach to the workspace instance. VolumeId() *string SetVolumeId(val *string) // ID of the workspace instance to associate with the volume. WorkspaceInstanceId() *string SetWorkspaceInstanceId(val *string) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // 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`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.
Example:
// 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" cfnVolumeAssociation := awscdk.Aws_workspacesinstances.NewCfnVolumeAssociation(this, jsii.String("MyCfnVolumeAssociation"), &CfnVolumeAssociationProps{ Device: jsii.String("device"), VolumeId: jsii.String("volumeId"), WorkspaceInstanceId: jsii.String("workspaceInstanceId"), // the properties below are optional DisassociateMode: jsii.String("disassociateMode"), })
func NewCfnVolumeAssociation ¶
func NewCfnVolumeAssociation(scope constructs.Construct, id *string, props *CfnVolumeAssociationProps) CfnVolumeAssociation
type CfnVolumeAssociationProps ¶
type CfnVolumeAssociationProps struct { // The device name for the volume attachment. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-device // Device *string `field:"required" json:"device" yaml:"device"` // ID of the volume to attach to the workspace instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-volumeid // VolumeId *string `field:"required" json:"volumeId" yaml:"volumeId"` // ID of the workspace instance to associate with the volume. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-workspaceinstanceid // WorkspaceInstanceId *string `field:"required" json:"workspaceInstanceId" yaml:"workspaceInstanceId"` // Mode to use when disassociating the volume. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-disassociatemode // DisassociateMode *string `field:"optional" json:"disassociateMode" yaml:"disassociateMode"` }
Properties for defining a `CfnVolumeAssociation`.
Example:
// 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" cfnVolumeAssociationProps := &CfnVolumeAssociationProps{ Device: jsii.String("device"), VolumeId: jsii.String("volumeId"), WorkspaceInstanceId: jsii.String("workspaceInstanceId"), // the properties below are optional DisassociateMode: jsii.String("disassociateMode"), }
type CfnVolumeProps ¶
type CfnVolumeProps struct { // The Availability Zone in which to create the volume. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-availabilityzone // AvailabilityZone *string `field:"required" json:"availabilityZone" yaml:"availabilityZone"` // Indicates whether the volume should be encrypted. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-encrypted // Encrypted interface{} `field:"optional" json:"encrypted" yaml:"encrypted"` // The number of I/O operations per second (IOPS). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-iops // Iops *float64 `field:"optional" json:"iops" yaml:"iops"` // The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-kmskeyid // KmsKeyId *string `field:"optional" json:"kmsKeyId" yaml:"kmsKeyId"` // The size of the volume, in GiBs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-sizeingb // SizeInGb *float64 `field:"optional" json:"sizeInGb" yaml:"sizeInGb"` // The snapshot from which to create the volume. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-snapshotid // SnapshotId *string `field:"optional" json:"snapshotId" yaml:"snapshotId"` // The tags passed to EBS volume. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-tagspecifications // TagSpecifications interface{} `field:"optional" json:"tagSpecifications" yaml:"tagSpecifications"` // The throughput to provision for a volume, with a maximum of 1,000 MiB/s. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-throughput // Throughput *float64 `field:"optional" json:"throughput" yaml:"throughput"` // The volume type. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-volumetype // VolumeType *string `field:"optional" json:"volumeType" yaml:"volumeType"` }
Properties for defining a `CfnVolume`.
Example:
// 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" cfnVolumeProps := &CfnVolumeProps{ AvailabilityZone: jsii.String("availabilityZone"), // the properties below are optional Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), SizeInGb: jsii.Number(123), SnapshotId: jsii.String("snapshotId"), TagSpecifications: []interface{}{ &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }, }, Throughput: jsii.Number(123), VolumeType: jsii.String("volumeType"), }
type CfnVolume_TagSpecificationProperty ¶
type CfnVolume_TagSpecificationProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-volume-tagspecification.html#cfn-workspacesinstances-volume-tagspecification-resourcetype // ResourceType *string `field:"optional" json:"resourceType" yaml:"resourceType"` // The tags to apply to the resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-volume-tagspecification.html#cfn-workspacesinstances-volume-tagspecification-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Example:
// 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" tagSpecificationProperty := &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnWorkspaceInstance ¶
type CfnWorkspaceInstance interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 AttrEc2ManagedInstance() awscdk.IResolvable AttrEc2ManagedInstanceInstanceId() *string // The current state of the workspace instance. AttrProvisionState() *string // Unique identifier for the workspace instance. AttrWorkspaceInstanceId() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string ManagedInstance() interface{} SetManagedInstance(val interface{}) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // 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`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Resource Type definition for AWS::WorkspacesInstances::WorkspaceInstance.
Example:
// 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" cfnWorkspaceInstance := awscdk.Aws_workspacesinstances.NewCfnWorkspaceInstance(this, jsii.String("MyCfnWorkspaceInstance"), &CfnWorkspaceInstanceProps{ ManagedInstance: &ManagedInstanceProperty{ ImageId: jsii.String("imageId"), InstanceType: jsii.String("instanceType"), // the properties below are optional BlockDeviceMappings: []interface{}{ &BlockDeviceMappingProperty{ DeviceName: jsii.String("deviceName"), Ebs: &EbsBlockDeviceProperty{ Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), Throughput: jsii.Number(123), VolumeSize: jsii.Number(123), VolumeType: jsii.String("volumeType"), }, NoDevice: jsii.String("noDevice"), VirtualName: jsii.String("virtualName"), }, }, CpuOptions: &CpuOptionsRequestProperty{ CoreCount: jsii.Number(123), ThreadsPerCore: jsii.Number(123), }, CreditSpecification: &CreditSpecificationRequestProperty{ CpuCredits: jsii.String("cpuCredits"), }, DisableApiStop: jsii.Boolean(false), EbsOptimized: jsii.Boolean(false), EnclaveOptions: &EnclaveOptionsRequestProperty{ Enabled: jsii.Boolean(false), }, HibernationOptions: &HibernationOptionsRequestProperty{ Configured: jsii.Boolean(false), }, IamInstanceProfile: &IamInstanceProfileSpecificationProperty{ Name: jsii.String("name"), }, KeyName: jsii.String("keyName"), MaintenanceOptions: &InstanceMaintenanceOptionsRequestProperty{ AutoRecovery: jsii.String("autoRecovery"), }, MetadataOptions: &InstanceMetadataOptionsRequestProperty{ HttpEndpoint: jsii.String("httpEndpoint"), HttpProtocolIpv6: jsii.String("httpProtocolIpv6"), HttpPutResponseHopLimit: jsii.Number(123), HttpTokens: jsii.String("httpTokens"), InstanceMetadataTags: jsii.String("instanceMetadataTags"), }, Monitoring: &RunInstancesMonitoringEnabledProperty{ Enabled: jsii.Boolean(false), }, NetworkInterfaces: []interface{}{ &InstanceNetworkInterfaceSpecificationProperty{ Description: jsii.String("description"), DeviceIndex: jsii.Number(123), Groups: []*string{ jsii.String("groups"), }, SubnetId: jsii.String("subnetId"), }, }, NetworkPerformanceOptions: &InstanceNetworkPerformanceOptionsRequestProperty{ BandwidthWeighting: jsii.String("bandwidthWeighting"), }, Placement: &PlacementProperty{ AvailabilityZone: jsii.String("availabilityZone"), GroupName: jsii.String("groupName"), Tenancy: jsii.String("tenancy"), }, PrivateDnsNameOptions: &PrivateDnsNameOptionsRequestProperty{ EnableResourceNameDnsAaaaRecord: jsii.Boolean(false), EnableResourceNameDnsARecord: jsii.Boolean(false), HostnameType: jsii.String("hostnameType"), }, TagSpecifications: []interface{}{ &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }, }, UserData: jsii.String("userData"), }, Tags: []*cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnWorkspaceInstance ¶
func NewCfnWorkspaceInstance(scope constructs.Construct, id *string, props *CfnWorkspaceInstanceProps) CfnWorkspaceInstance
type CfnWorkspaceInstanceProps ¶
type CfnWorkspaceInstanceProps struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance // ManagedInstance interface{} `field:"optional" json:"managedInstance" yaml:"managedInstance"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#cfn-workspacesinstances-workspaceinstance-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnWorkspaceInstance`.
Example:
// 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" cfnWorkspaceInstanceProps := &CfnWorkspaceInstanceProps{ ManagedInstance: &ManagedInstanceProperty{ ImageId: jsii.String("imageId"), InstanceType: jsii.String("instanceType"), // the properties below are optional BlockDeviceMappings: []interface{}{ &BlockDeviceMappingProperty{ DeviceName: jsii.String("deviceName"), Ebs: &EbsBlockDeviceProperty{ Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), Throughput: jsii.Number(123), VolumeSize: jsii.Number(123), VolumeType: jsii.String("volumeType"), }, NoDevice: jsii.String("noDevice"), VirtualName: jsii.String("virtualName"), }, }, CpuOptions: &CpuOptionsRequestProperty{ CoreCount: jsii.Number(123), ThreadsPerCore: jsii.Number(123), }, CreditSpecification: &CreditSpecificationRequestProperty{ CpuCredits: jsii.String("cpuCredits"), }, DisableApiStop: jsii.Boolean(false), EbsOptimized: jsii.Boolean(false), EnclaveOptions: &EnclaveOptionsRequestProperty{ Enabled: jsii.Boolean(false), }, HibernationOptions: &HibernationOptionsRequestProperty{ Configured: jsii.Boolean(false), }, IamInstanceProfile: &IamInstanceProfileSpecificationProperty{ Name: jsii.String("name"), }, KeyName: jsii.String("keyName"), MaintenanceOptions: &InstanceMaintenanceOptionsRequestProperty{ AutoRecovery: jsii.String("autoRecovery"), }, MetadataOptions: &InstanceMetadataOptionsRequestProperty{ HttpEndpoint: jsii.String("httpEndpoint"), HttpProtocolIpv6: jsii.String("httpProtocolIpv6"), HttpPutResponseHopLimit: jsii.Number(123), HttpTokens: jsii.String("httpTokens"), InstanceMetadataTags: jsii.String("instanceMetadataTags"), }, Monitoring: &RunInstancesMonitoringEnabledProperty{ Enabled: jsii.Boolean(false), }, NetworkInterfaces: []interface{}{ &InstanceNetworkInterfaceSpecificationProperty{ Description: jsii.String("description"), DeviceIndex: jsii.Number(123), Groups: []*string{ jsii.String("groups"), }, SubnetId: jsii.String("subnetId"), }, }, NetworkPerformanceOptions: &InstanceNetworkPerformanceOptionsRequestProperty{ BandwidthWeighting: jsii.String("bandwidthWeighting"), }, Placement: &PlacementProperty{ AvailabilityZone: jsii.String("availabilityZone"), GroupName: jsii.String("groupName"), Tenancy: jsii.String("tenancy"), }, PrivateDnsNameOptions: &PrivateDnsNameOptionsRequestProperty{ EnableResourceNameDnsAaaaRecord: jsii.Boolean(false), EnableResourceNameDnsARecord: jsii.Boolean(false), HostnameType: jsii.String("hostnameType"), }, TagSpecifications: []interface{}{ &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }, }, UserData: jsii.String("userData"), }, Tags: []*cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnWorkspaceInstance_BlockDeviceMappingProperty ¶
type CfnWorkspaceInstance_BlockDeviceMappingProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-devicename // DeviceName *string `field:"optional" json:"deviceName" yaml:"deviceName"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-ebs // Ebs interface{} `field:"optional" json:"ebs" yaml:"ebs"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-nodevice // NoDevice *string `field:"optional" json:"noDevice" yaml:"noDevice"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-virtualname // VirtualName *string `field:"optional" json:"virtualName" yaml:"virtualName"` }
Example:
// 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" blockDeviceMappingProperty := &BlockDeviceMappingProperty{ DeviceName: jsii.String("deviceName"), Ebs: &EbsBlockDeviceProperty{ Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), Throughput: jsii.Number(123), VolumeSize: jsii.Number(123), VolumeType: jsii.String("volumeType"), }, NoDevice: jsii.String("noDevice"), VirtualName: jsii.String("virtualName"), }
type CfnWorkspaceInstance_CpuOptionsRequestProperty ¶
type CfnWorkspaceInstance_CpuOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-cpuoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-cpuoptionsrequest-corecount // CoreCount *float64 `field:"optional" json:"coreCount" yaml:"coreCount"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-cpuoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-cpuoptionsrequest-threadspercore // ThreadsPerCore *float64 `field:"optional" json:"threadsPerCore" yaml:"threadsPerCore"` }
Example:
// 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" cpuOptionsRequestProperty := &CpuOptionsRequestProperty{ CoreCount: jsii.Number(123), ThreadsPerCore: jsii.Number(123), }
type CfnWorkspaceInstance_CreditSpecificationRequestProperty ¶
type CfnWorkspaceInstance_CreditSpecificationRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-creditspecificationrequest.html#cfn-workspacesinstances-workspaceinstance-creditspecificationrequest-cpucredits // CpuCredits *string `field:"optional" json:"cpuCredits" yaml:"cpuCredits"` }
Example:
// 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" creditSpecificationRequestProperty := &CreditSpecificationRequestProperty{ CpuCredits: jsii.String("cpuCredits"), }
type CfnWorkspaceInstance_EC2ManagedInstanceProperty ¶
type CfnWorkspaceInstance_EC2ManagedInstanceProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ec2managedinstance.html#cfn-workspacesinstances-workspaceinstance-ec2managedinstance-instanceid // InstanceId *string `field:"optional" json:"instanceId" yaml:"instanceId"` }
Example:
// 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" eC2ManagedInstanceProperty := &EC2ManagedInstanceProperty{ InstanceId: jsii.String("instanceId"), }
type CfnWorkspaceInstance_EbsBlockDeviceProperty ¶
type CfnWorkspaceInstance_EbsBlockDeviceProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-encrypted // Encrypted interface{} `field:"optional" json:"encrypted" yaml:"encrypted"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-iops // Iops *float64 `field:"optional" json:"iops" yaml:"iops"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-kmskeyid // KmsKeyId *string `field:"optional" json:"kmsKeyId" yaml:"kmsKeyId"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-throughput // Throughput *float64 `field:"optional" json:"throughput" yaml:"throughput"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-volumesize // VolumeSize *float64 `field:"optional" json:"volumeSize" yaml:"volumeSize"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-volumetype // VolumeType *string `field:"optional" json:"volumeType" yaml:"volumeType"` }
Example:
// 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" ebsBlockDeviceProperty := &EbsBlockDeviceProperty{ Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), Throughput: jsii.Number(123), VolumeSize: jsii.Number(123), VolumeType: jsii.String("volumeType"), }
type CfnWorkspaceInstance_EnclaveOptionsRequestProperty ¶
type CfnWorkspaceInstance_EnclaveOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-enclaveoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-enclaveoptionsrequest-enabled // Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` }
Example:
// 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" enclaveOptionsRequestProperty := &EnclaveOptionsRequestProperty{ Enabled: jsii.Boolean(false), }
type CfnWorkspaceInstance_HibernationOptionsRequestProperty ¶
type CfnWorkspaceInstance_HibernationOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-hibernationoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-hibernationoptionsrequest-configured // Configured interface{} `field:"optional" json:"configured" yaml:"configured"` }
Example:
// 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" hibernationOptionsRequestProperty := &HibernationOptionsRequestProperty{ Configured: jsii.Boolean(false), }
type CfnWorkspaceInstance_IamInstanceProfileSpecificationProperty ¶
type CfnWorkspaceInstance_IamInstanceProfileSpecificationProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-iaminstanceprofilespecification.html#cfn-workspacesinstances-workspaceinstance-iaminstanceprofilespecification-name // Name *string `field:"optional" json:"name" yaml:"name"` }
Example:
// 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" iamInstanceProfileSpecificationProperty := &IamInstanceProfileSpecificationProperty{ Name: jsii.String("name"), }
type CfnWorkspaceInstance_InstanceMaintenanceOptionsRequestProperty ¶
type CfnWorkspaceInstance_InstanceMaintenanceOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemaintenanceoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemaintenanceoptionsrequest-autorecovery // AutoRecovery *string `field:"optional" json:"autoRecovery" yaml:"autoRecovery"` }
Example:
// 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" instanceMaintenanceOptionsRequestProperty := &InstanceMaintenanceOptionsRequestProperty{ AutoRecovery: jsii.String("autoRecovery"), }
type CfnWorkspaceInstance_InstanceMetadataOptionsRequestProperty ¶
type CfnWorkspaceInstance_InstanceMetadataOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httpendpoint // HttpEndpoint *string `field:"optional" json:"httpEndpoint" yaml:"httpEndpoint"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httpprotocolipv6 // HttpProtocolIpv6 *string `field:"optional" json:"httpProtocolIpv6" yaml:"httpProtocolIpv6"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httpputresponsehoplimit // HttpPutResponseHopLimit *float64 `field:"optional" json:"httpPutResponseHopLimit" yaml:"httpPutResponseHopLimit"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httptokens // HttpTokens *string `field:"optional" json:"httpTokens" yaml:"httpTokens"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-instancemetadatatags // InstanceMetadataTags *string `field:"optional" json:"instanceMetadataTags" yaml:"instanceMetadataTags"` }
Example:
// 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" instanceMetadataOptionsRequestProperty := &InstanceMetadataOptionsRequestProperty{ HttpEndpoint: jsii.String("httpEndpoint"), HttpProtocolIpv6: jsii.String("httpProtocolIpv6"), HttpPutResponseHopLimit: jsii.Number(123), HttpTokens: jsii.String("httpTokens"), InstanceMetadataTags: jsii.String("instanceMetadataTags"), }
type CfnWorkspaceInstance_InstanceNetworkInterfaceSpecificationProperty ¶
type CfnWorkspaceInstance_InstanceNetworkInterfaceSpecificationProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-description // Description *string `field:"optional" json:"description" yaml:"description"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-deviceindex // DeviceIndex *float64 `field:"optional" json:"deviceIndex" yaml:"deviceIndex"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-groups // Groups *[]*string `field:"optional" json:"groups" yaml:"groups"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-subnetid // SubnetId *string `field:"optional" json:"subnetId" yaml:"subnetId"` }
Example:
// 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" instanceNetworkInterfaceSpecificationProperty := &InstanceNetworkInterfaceSpecificationProperty{ Description: jsii.String("description"), DeviceIndex: jsii.Number(123), Groups: []*string{ jsii.String("groups"), }, SubnetId: jsii.String("subnetId"), }
type CfnWorkspaceInstance_InstanceNetworkPerformanceOptionsRequestProperty ¶
type CfnWorkspaceInstance_InstanceNetworkPerformanceOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkperformanceoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancenetworkperformanceoptionsrequest-bandwidthweighting // BandwidthWeighting *string `field:"optional" json:"bandwidthWeighting" yaml:"bandwidthWeighting"` }
Example:
// 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" instanceNetworkPerformanceOptionsRequestProperty := &InstanceNetworkPerformanceOptionsRequestProperty{ BandwidthWeighting: jsii.String("bandwidthWeighting"), }
type CfnWorkspaceInstance_ManagedInstanceProperty ¶
type CfnWorkspaceInstance_ManagedInstanceProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-imageid // ImageId *string `field:"required" json:"imageId" yaml:"imageId"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-instancetype // InstanceType *string `field:"required" json:"instanceType" yaml:"instanceType"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-blockdevicemappings // BlockDeviceMappings interface{} `field:"optional" json:"blockDeviceMappings" yaml:"blockDeviceMappings"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-cpuoptions // CpuOptions interface{} `field:"optional" json:"cpuOptions" yaml:"cpuOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-creditspecification // CreditSpecification interface{} `field:"optional" json:"creditSpecification" yaml:"creditSpecification"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-disableapistop // DisableApiStop interface{} `field:"optional" json:"disableApiStop" yaml:"disableApiStop"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-ebsoptimized // EbsOptimized interface{} `field:"optional" json:"ebsOptimized" yaml:"ebsOptimized"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-enclaveoptions // EnclaveOptions interface{} `field:"optional" json:"enclaveOptions" yaml:"enclaveOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-hibernationoptions // HibernationOptions interface{} `field:"optional" json:"hibernationOptions" yaml:"hibernationOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-iaminstanceprofile // IamInstanceProfile interface{} `field:"optional" json:"iamInstanceProfile" yaml:"iamInstanceProfile"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-keyname // KeyName *string `field:"optional" json:"keyName" yaml:"keyName"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-maintenanceoptions // MaintenanceOptions interface{} `field:"optional" json:"maintenanceOptions" yaml:"maintenanceOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-metadataoptions // MetadataOptions interface{} `field:"optional" json:"metadataOptions" yaml:"metadataOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-monitoring // Monitoring interface{} `field:"optional" json:"monitoring" yaml:"monitoring"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-networkinterfaces // NetworkInterfaces interface{} `field:"optional" json:"networkInterfaces" yaml:"networkInterfaces"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-networkperformanceoptions // NetworkPerformanceOptions interface{} `field:"optional" json:"networkPerformanceOptions" yaml:"networkPerformanceOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-placement // Placement interface{} `field:"optional" json:"placement" yaml:"placement"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-privatednsnameoptions // PrivateDnsNameOptions interface{} `field:"optional" json:"privateDnsNameOptions" yaml:"privateDnsNameOptions"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-tagspecifications // TagSpecifications interface{} `field:"optional" json:"tagSpecifications" yaml:"tagSpecifications"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-userdata // UserData *string `field:"optional" json:"userData" yaml:"userData"` }
Example:
// 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" managedInstanceProperty := &ManagedInstanceProperty{ ImageId: jsii.String("imageId"), InstanceType: jsii.String("instanceType"), // the properties below are optional BlockDeviceMappings: []interface{}{ &BlockDeviceMappingProperty{ DeviceName: jsii.String("deviceName"), Ebs: &EbsBlockDeviceProperty{ Encrypted: jsii.Boolean(false), Iops: jsii.Number(123), KmsKeyId: jsii.String("kmsKeyId"), Throughput: jsii.Number(123), VolumeSize: jsii.Number(123), VolumeType: jsii.String("volumeType"), }, NoDevice: jsii.String("noDevice"), VirtualName: jsii.String("virtualName"), }, }, CpuOptions: &CpuOptionsRequestProperty{ CoreCount: jsii.Number(123), ThreadsPerCore: jsii.Number(123), }, CreditSpecification: &CreditSpecificationRequestProperty{ CpuCredits: jsii.String("cpuCredits"), }, DisableApiStop: jsii.Boolean(false), EbsOptimized: jsii.Boolean(false), EnclaveOptions: &EnclaveOptionsRequestProperty{ Enabled: jsii.Boolean(false), }, HibernationOptions: &HibernationOptionsRequestProperty{ Configured: jsii.Boolean(false), }, IamInstanceProfile: &IamInstanceProfileSpecificationProperty{ Name: jsii.String("name"), }, KeyName: jsii.String("keyName"), MaintenanceOptions: &InstanceMaintenanceOptionsRequestProperty{ AutoRecovery: jsii.String("autoRecovery"), }, MetadataOptions: &InstanceMetadataOptionsRequestProperty{ HttpEndpoint: jsii.String("httpEndpoint"), HttpProtocolIpv6: jsii.String("httpProtocolIpv6"), HttpPutResponseHopLimit: jsii.Number(123), HttpTokens: jsii.String("httpTokens"), InstanceMetadataTags: jsii.String("instanceMetadataTags"), }, Monitoring: &RunInstancesMonitoringEnabledProperty{ Enabled: jsii.Boolean(false), }, NetworkInterfaces: []interface{}{ &InstanceNetworkInterfaceSpecificationProperty{ Description: jsii.String("description"), DeviceIndex: jsii.Number(123), Groups: []*string{ jsii.String("groups"), }, SubnetId: jsii.String("subnetId"), }, }, NetworkPerformanceOptions: &InstanceNetworkPerformanceOptionsRequestProperty{ BandwidthWeighting: jsii.String("bandwidthWeighting"), }, Placement: &PlacementProperty{ AvailabilityZone: jsii.String("availabilityZone"), GroupName: jsii.String("groupName"), Tenancy: jsii.String("tenancy"), }, PrivateDnsNameOptions: &PrivateDnsNameOptionsRequestProperty{ EnableResourceNameDnsAaaaRecord: jsii.Boolean(false), EnableResourceNameDnsARecord: jsii.Boolean(false), HostnameType: jsii.String("hostnameType"), }, TagSpecifications: []interface{}{ &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }, }, UserData: jsii.String("userData"), }
type CfnWorkspaceInstance_PlacementProperty ¶
type CfnWorkspaceInstance_PlacementProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html#cfn-workspacesinstances-workspaceinstance-placement-availabilityzone // AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html#cfn-workspacesinstances-workspaceinstance-placement-groupname // GroupName *string `field:"optional" json:"groupName" yaml:"groupName"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html#cfn-workspacesinstances-workspaceinstance-placement-tenancy // Tenancy *string `field:"optional" json:"tenancy" yaml:"tenancy"` }
Example:
// 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" placementProperty := &PlacementProperty{ AvailabilityZone: jsii.String("availabilityZone"), GroupName: jsii.String("groupName"), Tenancy: jsii.String("tenancy"), }
type CfnWorkspaceInstance_PrivateDnsNameOptionsRequestProperty ¶
type CfnWorkspaceInstance_PrivateDnsNameOptionsRequestProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest-enableresourcenamednsaaaarecord // EnableResourceNameDnsAaaaRecord interface{} `field:"optional" json:"enableResourceNameDnsAaaaRecord" yaml:"enableResourceNameDnsAaaaRecord"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest-enableresourcenamednsarecord // EnableResourceNameDnsARecord interface{} `field:"optional" json:"enableResourceNameDnsARecord" yaml:"enableResourceNameDnsARecord"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest-hostnametype // HostnameType *string `field:"optional" json:"hostnameType" yaml:"hostnameType"` }
Example:
// 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" privateDnsNameOptionsRequestProperty := &PrivateDnsNameOptionsRequestProperty{ EnableResourceNameDnsAaaaRecord: jsii.Boolean(false), EnableResourceNameDnsARecord: jsii.Boolean(false), HostnameType: jsii.String("hostnameType"), }
type CfnWorkspaceInstance_RunInstancesMonitoringEnabledProperty ¶
type CfnWorkspaceInstance_RunInstancesMonitoringEnabledProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-runinstancesmonitoringenabled.html#cfn-workspacesinstances-workspaceinstance-runinstancesmonitoringenabled-enabled // Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` }
Example:
// 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" runInstancesMonitoringEnabledProperty := &RunInstancesMonitoringEnabledProperty{ Enabled: jsii.Boolean(false), }
type CfnWorkspaceInstance_TagSpecificationProperty ¶
type CfnWorkspaceInstance_TagSpecificationProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-tagspecification.html#cfn-workspacesinstances-workspaceinstance-tagspecification-resourcetype // ResourceType *string `field:"optional" json:"resourceType" yaml:"resourceType"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-tagspecification.html#cfn-workspacesinstances-workspaceinstance-tagspecification-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Example:
// 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" tagSpecificationProperty := &TagSpecificationProperty{ ResourceType: jsii.String("resourceType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
Source Files
¶
- CfnVolume.go
- CfnVolumeAssociation.go
- CfnVolumeAssociationProps.go
- CfnVolumeAssociation__checks.go
- CfnVolumeProps.go
- CfnVolume_TagSpecificationProperty.go
- CfnVolume__checks.go
- CfnWorkspaceInstance.go
- CfnWorkspaceInstanceProps.go
- CfnWorkspaceInstance_BlockDeviceMappingProperty.go
- CfnWorkspaceInstance_CpuOptionsRequestProperty.go
- CfnWorkspaceInstance_CreditSpecificationRequestProperty.go
- CfnWorkspaceInstance_EC2ManagedInstanceProperty.go
- CfnWorkspaceInstance_EbsBlockDeviceProperty.go
- CfnWorkspaceInstance_EnclaveOptionsRequestProperty.go
- CfnWorkspaceInstance_HibernationOptionsRequestProperty.go
- CfnWorkspaceInstance_IamInstanceProfileSpecificationProperty.go
- CfnWorkspaceInstance_InstanceMaintenanceOptionsRequestProperty.go
- CfnWorkspaceInstance_InstanceMetadataOptionsRequestProperty.go
- CfnWorkspaceInstance_InstanceNetworkInterfaceSpecificationProperty.go
- CfnWorkspaceInstance_InstanceNetworkPerformanceOptionsRequestProperty.go
- CfnWorkspaceInstance_ManagedInstanceProperty.go
- CfnWorkspaceInstance_PlacementProperty.go
- CfnWorkspaceInstance_PrivateDnsNameOptionsRequestProperty.go
- CfnWorkspaceInstance_RunInstancesMonitoringEnabledProperty.go
- CfnWorkspaceInstance_TagSpecificationProperty.go
- CfnWorkspaceInstance__checks.go
- main.go