We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.organizations.getOrganization
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 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)
public static Output<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:organizations:getOrganization
  arguments:
    # arguments dictionaryThe 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.Aws Native. Organizations. Organization Feature Set 
- 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.
- ManagementAccount stringArn 
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- ManagementAccount stringEmail 
- The email address that is associated with the AWS account that is designated as the management account for the organization.
- ManagementAccount stringId 
- 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 OrganizationFeature Set 
- 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.
- ManagementAccount stringArn 
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- ManagementAccount stringEmail 
- The email address that is associated with the AWS account that is designated as the management account for the organization.
- ManagementAccount stringId 
- 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 OrganizationFeature Set 
- 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.
- managementAccount StringArn 
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- managementAccount StringEmail 
- The email address that is associated with the AWS account that is designated as the management account for the organization.
- managementAccount StringId 
- 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 OrganizationFeature Set 
- 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.
- managementAccount stringArn 
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- managementAccount stringEmail 
- The email address that is associated with the AWS account that is designated as the management account for the organization.
- managementAccount stringId 
- 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 OrganizationFeature Set 
- 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_ strarn 
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- management_account_ stremail 
- The email address that is associated with the AWS account that is designated as the management account for the organization.
- management_account_ strid 
- 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.
- managementAccount StringArn 
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- managementAccount StringEmail 
- The email address that is associated with the AWS account that is designated as the management account for the organization.
- managementAccount StringId 
- 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi