Class CfnProfile
A CloudFormation AWS::RolesAnywhere::Profile
.
Inherited Members
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
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 |
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
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
Enabled
The enabled status of the resource.
public virtual object Enabled { get; set; }
Property Value
System.Object
Remarks
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.
Name
The customer specified name of the resource.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
RequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile.
public virtual object RequireInstanceProperties { get; set; }
Property Value
System.Object
Remarks
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
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
Tags
A list of Tags.
public virtual TagManager Tags { get; }
Property Value
Remarks
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>