Class CfnInstanceProfile
Provides information that defines an instance profile.
Inherited Members
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceProfile : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnInstanceProfile
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-instanceprofile.html
CloudformationResource: AWS::DMS::InstanceProfile
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 cfnInstanceProfile = new CfnInstanceProfile(this, "MyCfnInstanceProfile", 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
CfnInstanceProfile(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnInstanceProfile(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnInstanceProfile(Construct, String, ICfnInstanceProfileProps) |
Properties
AttrInstanceProfileArn | The Amazon Resource Name (ARN) string that uniquely identifies the instance profile. |
AttrInstanceProfileCreationTime | The time the instance profile was created. |
AvailabilityZone | The Availability Zone where the instance profile runs. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnInstanceProfile(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnInstanceProfile(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnInstanceProfile(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnInstanceProfile(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnInstanceProfile(Construct, String, ICfnInstanceProfileProps)
public CfnInstanceProfile(Construct scope, string id, ICfnInstanceProfileProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnInstanceProfileProps
Resource properties.
Properties
AttrInstanceProfileArn
The Amazon Resource Name (ARN) string that uniquely identifies the instance profile.
public virtual string AttrInstanceProfileArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: InstanceProfileArn
AttrInstanceProfileCreationTime
The time the instance profile was created.
public virtual string AttrInstanceProfileCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: InstanceProfileCreationTime
AvailabilityZone
The Availability Zone where the instance profile runs.
public virtual string AvailabilityZone { get; set; }
Property Value
System.String
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
A description of the instance profile.
public virtual string Description { get; set; }
Property Value
System.String
InstanceProfileIdentifier
The identifier of the instance profile.
public virtual string InstanceProfileIdentifier { get; set; }
Property Value
System.String
InstanceProfileName
The user-friendly name for the instance profile.
public virtual string InstanceProfileName { get; set; }
Property Value
System.String
KmsKeyArn
The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the connection parameters for the instance profile.
public virtual string KmsKeyArn { get; set; }
Property Value
System.String
NetworkType
Specifies the network type for the instance profile.
public virtual string NetworkType { get; set; }
Property Value
System.String
PubliclyAccessible
Specifies the accessibility options for the instance profile.
public virtual object PubliclyAccessible { get; set; }
Property Value
System.Object
SubnetGroupIdentifier
The identifier of the subnet group that is associated with the instance profile.
public virtual string SubnetGroupIdentifier { get; set; }
Property Value
System.String
Tags
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
VpcSecurityGroups
The VPC security groups that are used with the instance profile.
public virtual string[] VpcSecurityGroups { get; set; }
Property Value
System.String[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>