Class CfnAccountProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.organizations.CfnAccountProps.Jsii$Proxy
All Implemented Interfaces:
CfnAccountProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnAccountProps

@Stability(Stable) @Internal public static final class CfnAccountProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAccountProps
An implementation for CfnAccountProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.organizations.CfnAccountProps

    CfnAccountProps.Builder, CfnAccountProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnAccountProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The account name given to the account when it was created.
    final String
    The email address associated with the AWS account.
    final List<String>
    The unique identifier (ID) of the root or organizational unit (OU) that you want to create the new account in.
    final String
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account.
    final List<CfnTag>
    A list of tags that you want to attach to the newly created account.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnAccountProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnAccountProps.Builder.
  • Method Details

    • getAccountName

      public final String getAccountName()
      Description copied from interface: CfnAccountProps
      The account name given to the account when it was created.
      Specified by:
      getAccountName in interface CfnAccountProps
    • getEmail

      public final String getEmail()
      Description copied from interface: CfnAccountProps
      The email address associated with the AWS account.

      The regex pattern for this parameter is a string of characters that represents a standard internet email address.

      Specified by:
      getEmail in interface CfnAccountProps
    • getParentIds

      public final List<String> getParentIds()
      Description copied from interface: CfnAccountProps
      The unique identifier (ID) of the root or organizational unit (OU) that you want to create the new account in.

      If you don't specify this parameter, the ParentId defaults to the root ID.

      This parameter only accepts a string array with one string value.

      The regex pattern for a parent ID string requires one of the following:

      • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
      • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
      Specified by:
      getParentIds in interface CfnAccountProps
    • getRoleName

      public final String getRoleName()
      Description copied from interface: CfnAccountProps
      The name of an IAM role that AWS Organizations automatically preconfigures in the new member account.

      This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

      If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole .

      For more information about how to use this role to access the member account, see the following links:

      The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@-

      Specified by:
      getRoleName in interface CfnAccountProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnAccountProps
      A list of tags that you want to attach to the newly created account.

      For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null . For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

      If any one of the tags is not valid or if you exceed the maximum allowed number of tags for an account, then the entire request fails and the account is not created.

      Specified by:
      getTags in interface CfnAccountProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object