Class CfnAccountAlias

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:14.662Z") @Stability(Stable) public class CfnAccountAlias extends CfnResource implements IInspectable
You can use the AWS::SupportApp::AccountAlias resource to specify your AWS account when you configure the AWS Support App in Slack.

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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.supportapp.*;
 CfnAccountAlias cfnAccountAlias = CfnAccountAlias.Builder.create(this, "MyCfnAccountAlias")
         .accountAlias("accountAlias")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnAccountAlias

      protected CfnAccountAlias(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnAccountAlias

      protected CfnAccountAlias(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnAccountAlias

      @Stability(Stable) public CfnAccountAlias(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAccountAliasProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrAccountAliasResourceId

      @Stability(Stable) @NotNull public String getAttrAccountAliasResourceId()
      The AccountAlias resource type has an attribute AccountAliasResourceId . You can use this attribute to identify the resource.

      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 .

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getAccountAlias

      @Stability(Stable) @NotNull public String getAccountAlias()
      An alias or short name for an AWS account .
    • setAccountAlias

      @Stability(Stable) public void setAccountAlias(@NotNull String value)
      An alias or short name for an AWS account .