Class CfnInstanceProfileProps
Properties for defining a CfnInstanceProfile
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceProfileProps : Object, ICfnInstanceProfileProps
Syntax (vb)
Public Class CfnInstanceProfileProps
Inherits Object
Implements ICfnInstanceProfileProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-instanceprofile.html
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.AWS.DMS;
var cfnInstanceProfileProps = new CfnInstanceProfileProps {
AvailabilityZone = "availabilityZone",
Description = "description",
InstanceProfileIdentifier = "instanceProfileIdentifier",
InstanceProfileName = "instanceProfileName",
KmsKeyArn = "kmsKeyArn",
NetworkType = "networkType",
PubliclyAccessible = false,
SubnetGroupIdentifier = "subnetGroupIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VpcSecurityGroups = new [] { "vpcSecurityGroups" }
};
Synopsis
Constructors
CfnInstanceProfileProps() |
Properties
AvailabilityZone | The Availability Zone where the instance profile runs. |
Description | A description of the instance profile. |
InstanceProfileIdentifier | The identifier of the instance profile. |
InstanceProfileName | The user-friendly name for the instance profile. |
KmsKeyArn | The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the connection parameters for the instance profile. |
NetworkType | Specifies the network type for the instance profile. |
PubliclyAccessible | Specifies the accessibility options for the instance profile. |
SubnetGroupIdentifier | The identifier of the subnet group that is associated with the instance profile. |
Tags | An array of key-value pairs to apply to this resource. |
VpcSecurityGroups | The VPC security groups that are used with the instance profile. |
Constructors
CfnInstanceProfileProps()
public CfnInstanceProfileProps()
Properties
AvailabilityZone
The Availability Zone where the instance profile runs.
public string AvailabilityZone { get; set; }
Property Value
System.String
Remarks
Description
A description of the instance profile.
public string Description { get; set; }
Property Value
System.String
Remarks
Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
InstanceProfileIdentifier
The identifier of the instance profile.
public string InstanceProfileIdentifier { get; set; }
Property Value
System.String
Remarks
Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
InstanceProfileName
The user-friendly name for the instance profile.
public string InstanceProfileName { get; set; }
Property Value
System.String
Remarks
KmsKeyArn
The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the connection parameters for the instance profile.
public string KmsKeyArn { get; set; }
Property Value
System.String
Remarks
If you don't specify a value for the KmsKeyArn
parameter, then AWS DMS uses your default encryption key.
AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region .
NetworkType
Specifies the network type for the instance profile.
public string NetworkType { get; set; }
Property Value
System.String
Remarks
A value of IPV4
represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6
represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL
represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.
PubliclyAccessible
Specifies the accessibility options for the instance profile.
public object PubliclyAccessible { get; set; }
Property Value
System.Object
Remarks
A value of true
represents an instance profile with a public IP address. A value of false
represents an instance profile with a private IP address. The default value is true
.
Default: - false
SubnetGroupIdentifier
The identifier of the subnet group that is associated with the instance profile.
public string SubnetGroupIdentifier { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
VpcSecurityGroups
The VPC security groups that are used with the instance profile.
public string[] VpcSecurityGroups { get; set; }
Property Value
System.String[]
Remarks
The VPC security group must work with the VPC containing the instance profile.