Show / Hide Table of Contents

Class CfnProfile

A CloudFormation AWS::RolesAnywhere::Profile.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnProfile
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.RolesAnywhere
Assembly: Amazon.CDK.AWS.RolesAnywhere.dll
Syntax (csharp)
public class CfnProfile : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnProfile
    Inherits CfnResource
    Implements IConstruct, IDependable, IInspectable
Remarks

Creates a Profile.

CloudformationResource: AWS::RolesAnywhere::Profile

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.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.RolesAnywhere;

var cfnProfile = new CfnProfile(this, "MyCfnProfile", new CfnProfileProps {
    Name = "name",
    RoleArns = new [] { "roleArns" },

    // the properties below are optional
    DurationSeconds = 123,
    Enabled = false,
    ManagedPolicyArns = new [] { "managedPolicyArns" },
    RequireInstanceProperties = false,
    SessionPolicy = "sessionPolicy",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
});

Synopsis

Constructors

CfnProfile(Construct, String, ICfnProfileProps)

Create a new AWS::RolesAnywhere::Profile.

CfnProfile(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

CfnProfile(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Properties

AttrProfileArn

The ARN of the profile.

AttrProfileId

The unique primary identifier of the Profile.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties
DurationSeconds

The number of seconds vended session credentials will be valid for.

Enabled

The enabled status of the resource.

ManagedPolicyArns

A list of managed policy ARNs.

Name

The customer specified name of the resource.

RequireInstanceProperties

Specifies whether instance properties are required in CreateSession requests with this profile.

RoleArns

A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.

SessionPolicy

A session policy that will applied to the trust boundary of the vended session credentials.

Tags

A list of Tags.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

Constructors

CfnProfile(Construct, String, ICfnProfileProps)

Create a new AWS::RolesAnywhere::Profile.

public CfnProfile(Construct scope, string id, ICfnProfileProps props)
Parameters
scope Construct
  • scope in which this resource is defined.
id System.String
  • scoped id of the resource.
props ICfnProfileProps
  • resource properties.

CfnProfile(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected CfnProfile(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

CfnProfile(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected CfnProfile(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Properties

AttrProfileArn

The ARN of the profile.

public virtual string AttrProfileArn { get; }
Property Value

System.String

Remarks

CloudformationAttribute: ProfileArn

AttrProfileId

The unique primary identifier of the Profile.

public virtual string AttrProfileId { get; }
Property Value

System.String

Remarks

CloudformationAttribute: ProfileId

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
CfnResource.CfnProperties

DurationSeconds

The number of seconds vended session credentials will be valid for.

public virtual Nullable<double> DurationSeconds { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-durationseconds

Enabled

The enabled status of the resource.

public virtual object Enabled { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-enabled

ManagedPolicyArns

A list of managed policy ARNs.

public virtual string[] ManagedPolicyArns { get; set; }
Property Value

System.String[]

Remarks

Managed policies identified by this list will be applied to the vended session credentials.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-managedpolicyarns

Name

The customer specified name of the resource.

public virtual string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-name

RequireInstanceProperties

Specifies whether instance properties are required in CreateSession requests with this profile.

public virtual object RequireInstanceProperties { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-requireinstanceproperties

RoleArns

A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.

public virtual string[] RoleArns { get; set; }
Property Value

System.String[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-rolearns

SessionPolicy

A session policy that will applied to the trust boundary of the vended session credentials.

public virtual string SessionPolicy { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-sessionpolicy

Tags

A list of Tags.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-tags

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>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

IConstruct
Constructs.IConstruct
IDependable
IInspectable
Back to top Generated by DocFX