Class CfnAccountAlias
You can use the AWS::SupportApp::AccountAlias
resource to specify your AWS account when you configure the AWS Support App in Slack.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SupportApp
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAccountAlias : CfnResource, IInspectable
Syntax (vb)
Public Class CfnAccountAlias
Inherits CfnResource
Implements IInspectable
Remarks
Your alias name appears on the AWS Support App page in the Support Center Console and in messages from the AWS Support App. You can use this alias to identify the account you've configured with the AWS Support App .
For more information, see AWS Support App in Slack in the AWS Support User Guide .
CloudformationResource: AWS::SupportApp::AccountAlias
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.SupportApp;
var cfnAccountAlias = new CfnAccountAlias(this, "MyCfnAccountAlias", new CfnAccountAliasProps {
AccountAlias = "accountAlias"
});
Synopsis
Constructors
CfnAccountAlias(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAccountAlias(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnAccountAlias(Construct, String, ICfnAccountAliasProps) |
Properties
AccountAlias | An alias or short name for an AWS account . |
AttrAccountAliasResourceId | The |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAccountAlias(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAccountAlias(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAccountAlias(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAccountAlias(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnAccountAlias(Construct, String, ICfnAccountAliasProps)
public CfnAccountAlias(Construct scope, string id, ICfnAccountAliasProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnAccountAliasProps
Resource properties.
Properties
AccountAlias
An alias or short name for an AWS account .
public virtual string AccountAlias { get; set; }
Property Value
System.String
AttrAccountAliasResourceId
The AccountAlias
resource type has an attribute AccountAliasResourceId
. You can use this attribute to identify the resource.
public virtual string AttrAccountAliasResourceId { get; }
Property Value
System.String
Remarks
The AccountAliasResourceId
will be AccountAlias_for_accountId
. In this example, AccountAlias_for_
is the prefix and accountId
is your AWS account number, such as AccountAlias_for_123456789012
.
CloudformationAttribute: AccountAliasResourceId
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
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>