Class CfnDevicePropsMixin
Specifies a device.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.NetworkManager
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDevicePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnDevicePropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.NetworkManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDevicePropsMixin = new CfnDevicePropsMixin(new CfnDeviceMixinProps {
AwsLocation = new AWSLocationProperty {
SubnetArn = "subnetArn",
Zone = "zone"
},
Description = "description",
GlobalNetworkId = "globalNetworkId",
Location = new LocationProperty {
Address = "address",
Latitude = "latitude",
Longitude = "longitude"
},
Model = "model",
SerialNumber = "serialNumber",
SiteId = "siteId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type",
Vendor = "vendor"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnDevicePropsMixin(ICfnDeviceMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies a device. |
| Props | Specifies a device. |
| Strategy | Specifies a device. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnDevicePropsMixin(ICfnDeviceMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::NetworkManager::Device.
public CfnDevicePropsMixin(ICfnDeviceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnDeviceMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies a device.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.NetworkManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDevicePropsMixin = new CfnDevicePropsMixin(new CfnDeviceMixinProps {
AwsLocation = new AWSLocationProperty {
SubnetArn = "subnetArn",
Zone = "zone"
},
Description = "description",
GlobalNetworkId = "globalNetworkId",
Location = new LocationProperty {
Address = "address",
Latitude = "latitude",
Longitude = "longitude"
},
Model = "model",
SerialNumber = "serialNumber",
SiteId = "siteId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type",
Vendor = "vendor"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Specifies a device.
protected virtual ICfnDeviceMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.NetworkManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDevicePropsMixin = new CfnDevicePropsMixin(new CfnDeviceMixinProps {
AwsLocation = new AWSLocationProperty {
SubnetArn = "subnetArn",
Zone = "zone"
},
Description = "description",
GlobalNetworkId = "globalNetworkId",
Location = new LocationProperty {
Address = "address",
Latitude = "latitude",
Longitude = "longitude"
},
Model = "model",
SerialNumber = "serialNumber",
SiteId = "siteId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type",
Vendor = "vendor"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Specifies a device.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.NetworkManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDevicePropsMixin = new CfnDevicePropsMixin(new CfnDeviceMixinProps {
AwsLocation = new AWSLocationProperty {
SubnetArn = "subnetArn",
Zone = "zone"
},
Description = "description",
GlobalNetworkId = "globalNetworkId",
Location = new LocationProperty {
Address = "address",
Latitude = "latitude",
Longitude = "longitude"
},
Model = "model",
SerialNumber = "serialNumber",
SiteId = "siteId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type",
Vendor = "vendor"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::NetworkManager::Device
Mixin: true
ExampleMetadata: fixture=_generated