Class CfnInstance
Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization.
Inherited Members
Namespace: Amazon.CDK.AWS.SSO
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstance : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnInstance Inherits CfnResource Implements IInspectable, ITaggableV2
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
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.SSO;
var cfnInstance = new CfnInstance(this, "MyCfnInstance", new CfnInstanceProps {
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnInstance(Construct, string, ICfnInstanceProps?) | Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization. |
Properties
AttrIdentityStoreId | The identifier of the identity store that is connected to the Identity Center instance. |
AttrInstanceArn | The ARN of the Identity Center instance under which the operation will be executed. |
AttrOwnerAccountId | The AWS account ID number of the owner of the Identity Center instance. |
AttrStatus | The current status of this Identity Center instance. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CfnProperties | Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization. |
Name | The name of the Identity Center instance. |
Tags | Specifies tags to be attached to the instance of IAM Identity Center. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization. |
Constructors
CfnInstance(Construct, string, ICfnInstanceProps?)
Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization.
public CfnInstance(Construct scope, string id, ICfnInstanceProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnInstanceProps
Resource properties.
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
Properties
AttrIdentityStoreId
The identifier of the identity store that is connected to the Identity Center instance.
public virtual string AttrIdentityStoreId { get; }
Property Value
Remarks
CloudformationAttribute: IdentityStoreId
AttrInstanceArn
The ARN of the Identity Center instance under which the operation will be executed.
public virtual string AttrInstanceArn { get; }
Property Value
Remarks
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
CloudformationAttribute: InstanceArn
AttrOwnerAccountId
The AWS account ID number of the owner of the Identity Center instance.
public virtual string AttrOwnerAccountId { get; }
Property Value
Remarks
CloudformationAttribute: OwnerAccountId
AttrStatus
The current status of this Identity Center instance.
public virtual string AttrStatus { get; }
Property Value
Remarks
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
CfnProperties
Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
Name
The name of the Identity Center instance.
public virtual string? Name { get; set; }
Property Value
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
Tags
Specifies tags to be attached to the instance of IAM Identity Center.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
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.
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
You can create only one instance per account and across all AWS Regions .
The CreateInstance request is rejected if the following apply:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
CloudformationResource: AWS::SSO::Instance
ExampleMetadata: fixture=_generated