1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. organizations
  5. getOrganization

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.organizations.getOrganization

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource schema for AWS::Organizations::Organization

    Using getOrganization

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getOrganization(args: GetOrganizationArgs, opts?: InvokeOptions): Promise<GetOrganizationResult>
    function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: InvokeOptions): Output<GetOrganizationResult>
    def get_organization(id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
    def get_organization_output(id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationResult]
    func LookupOrganization(ctx *Context, args *LookupOrganizationArgs, opts ...InvokeOption) (*LookupOrganizationResult, error)
    func LookupOrganizationOutput(ctx *Context, args *LookupOrganizationOutputArgs, opts ...InvokeOption) LookupOrganizationResultOutput

    > Note: This function is named LookupOrganization in the Go SDK.

    public static class GetOrganization 
    {
        public static Task<GetOrganizationResult> InvokeAsync(GetOrganizationArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationResult> Invoke(GetOrganizationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:organizations:getOrganization
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier (ID) of an organization.
    Id string
    The unique identifier (ID) of an organization.
    id String
    The unique identifier (ID) of an organization.
    id string
    The unique identifier (ID) of an organization.
    id str
    The unique identifier (ID) of an organization.
    id String
    The unique identifier (ID) of an organization.

    getOrganization Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of an organization.
    FeatureSet Pulumi.AwsNative.Organizations.OrganizationFeatureSet
    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.
    Id string
    The unique identifier (ID) of an organization.
    ManagementAccountArn string
    The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
    ManagementAccountEmail string
    The email address that is associated with the AWS account that is designated as the management account for the organization.
    ManagementAccountId string
    The unique identifier (ID) of the management account of an organization.
    RootId string
    The unique identifier (ID) for the root.
    Arn string
    The Amazon Resource Name (ARN) of an organization.
    FeatureSet OrganizationFeatureSet
    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.
    Id string
    The unique identifier (ID) of an organization.
    ManagementAccountArn string
    The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
    ManagementAccountEmail string
    The email address that is associated with the AWS account that is designated as the management account for the organization.
    ManagementAccountId string
    The unique identifier (ID) of the management account of an organization.
    RootId string
    The unique identifier (ID) for the root.
    arn String
    The Amazon Resource Name (ARN) of an organization.
    featureSet OrganizationFeatureSet
    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.
    id String
    The unique identifier (ID) of an organization.
    managementAccountArn String
    The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
    managementAccountEmail String
    The email address that is associated with the AWS account that is designated as the management account for the organization.
    managementAccountId String
    The unique identifier (ID) of the management account of an organization.
    rootId String
    The unique identifier (ID) for the root.
    arn string
    The Amazon Resource Name (ARN) of an organization.
    featureSet OrganizationFeatureSet
    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.
    id string
    The unique identifier (ID) of an organization.
    managementAccountArn string
    The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
    managementAccountEmail string
    The email address that is associated with the AWS account that is designated as the management account for the organization.
    managementAccountId string
    The unique identifier (ID) of the management account of an organization.
    rootId string
    The unique identifier (ID) for the root.
    arn str
    The Amazon Resource Name (ARN) of an organization.
    feature_set OrganizationFeatureSet
    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.
    id str
    The unique identifier (ID) of an organization.
    management_account_arn str
    The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
    management_account_email str
    The email address that is associated with the AWS account that is designated as the management account for the organization.
    management_account_id str
    The unique identifier (ID) of the management account of an organization.
    root_id str
    The unique identifier (ID) for the root.
    arn String
    The Amazon Resource Name (ARN) of an organization.
    featureSet "ALL" | "CONSOLIDATED_BILLING"
    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.
    id String
    The unique identifier (ID) of an organization.
    managementAccountArn String
    The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
    managementAccountEmail String
    The email address that is associated with the AWS account that is designated as the management account for the organization.
    managementAccountId String
    The unique identifier (ID) of the management account of an organization.
    rootId String
    The unique identifier (ID) for the root.

    Supporting Types

    OrganizationFeatureSet

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi