Class CfnEIPPropsMixin
Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEIPPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnEIPPropsMixin Inherits Mixin Implements IMixin
Remarks
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
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.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEIPPropsMixin = new CfnEIPPropsMixin(new CfnEIPMixinProps {
Address = "address",
Domain = "domain",
InstanceId = "instanceId",
IpamPoolId = "ipamPoolId",
NetworkBorderGroup = "networkBorderGroup",
PublicIpv4Pool = "publicIpv4Pool",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransferAddress = "transferAddress"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnEIPPropsMixin(ICfnEIPMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance. |
| Props | Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance. |
| Strategy | Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnEIPPropsMixin(ICfnEIPMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::EIP.
public CfnEIPPropsMixin(ICfnEIPMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnEIPMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
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.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEIPPropsMixin = new CfnEIPPropsMixin(new CfnEIPMixinProps {
Address = "address",
Domain = "domain",
InstanceId = "instanceId",
IpamPoolId = "ipamPoolId",
NetworkBorderGroup = "networkBorderGroup",
PublicIpv4Pool = "publicIpv4Pool",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransferAddress = "transferAddress"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
protected virtual ICfnEIPMixinProps Props { get; }
Property Value
Remarks
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
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.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEIPPropsMixin = new CfnEIPPropsMixin(new CfnEIPMixinProps {
Address = "address",
Domain = "domain",
InstanceId = "instanceId",
IpamPoolId = "ipamPoolId",
NetworkBorderGroup = "networkBorderGroup",
PublicIpv4Pool = "publicIpv4Pool",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransferAddress = "transferAddress"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
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.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEIPPropsMixin = new CfnEIPPropsMixin(new CfnEIPMixinProps {
Address = "address",
Domain = "domain",
InstanceId = "instanceId",
IpamPoolId = "ipamPoolId",
NetworkBorderGroup = "networkBorderGroup",
PublicIpv4Pool = "publicIpv4Pool",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransferAddress = "transferAddress"
}, 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
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
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
You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide .
For more information, see Elastic IP Addresses in the Amazon EC2 User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html
CloudformationResource: AWS::EC2::EIP
Mixin: true
ExampleMetadata: fixture=_generated