We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.organizations.getOrganization
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 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.
- Feature
Set 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.
- Management
Account stringArn - The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- Management
Account stringEmail - The email address that is associated with the AWS account that is designated as the management account for the organization.
- Management
Account stringId - The unique identifier (ID) of the management account of an organization.
- Root
Id string - The unique identifier (ID) for the root.
- Arn string
- 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 string
- The unique identifier (ID) of an organization.
- Management
Account stringArn - The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- Management
Account stringEmail - The email address that is associated with the AWS account that is designated as the management account for the organization.
- Management
Account stringId - The unique identifier (ID) of the management account of an organization.
- Root
Id string - The unique identifier (ID) for the root.
- arn String
- 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 String
- The unique identifier (ID) of an organization.
- management
Account StringArn - The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- management
Account StringEmail - The email address that is associated with the AWS account that is designated as the management account for the organization.
- management
Account StringId - The unique identifier (ID) of the management account of an organization.
- root
Id String - The unique identifier (ID) for the root.
- arn string
- 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 string
- The unique identifier (ID) of an organization.
- management
Account stringArn - The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- management
Account stringEmail - The email address that is associated with the AWS account that is designated as the management account for the organization.
- management
Account stringId - The unique identifier (ID) of the management account of an organization.
- root
Id 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.
- feature
Set "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.
- management
Account StringArn - The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
- management
Account StringEmail - The email address that is associated with the AWS account that is designated as the management account for the organization.
- management
Account StringId - The unique identifier (ID) of the management account of an organization.
- root
Id 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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi