1. Packages
  2. Dome9 Provider
  3. API Docs
  4. getAwsOrganizationOnboardingManagementStack
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

dome9.getAwsOrganizationOnboardingManagementStack

Explore with Pulumi AI

dome9 logo
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

    Use this data source to retrieve information about the AWS organization onboarding management stack in CloudGuard.

    Example Usage

    Basic usage:

    import * as pulumi from "@pulumi/pulumi";
    import * as dome9 from "@pulumi/dome9";
    
    const example = dome9.getAwsOrganizationOnboardingManagementStack({
        awsAccountId: "AWS_MANAGEMENT_ACCOUNT_ID",
    });
    
    import pulumi
    import pulumi_dome9 as dome9
    
    example = dome9.get_aws_organization_onboarding_management_stack(aws_account_id="AWS_MANAGEMENT_ACCOUNT_ID")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/dome9/dome9"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dome9.GetAwsOrganizationOnboardingManagementStack(ctx, &dome9.GetAwsOrganizationOnboardingManagementStackArgs{
    			AwsAccountId: "AWS_MANAGEMENT_ACCOUNT_ID",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Dome9 = Pulumi.Dome9;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Dome9.GetAwsOrganizationOnboardingManagementStack.Invoke(new()
        {
            AwsAccountId = "AWS_MANAGEMENT_ACCOUNT_ID",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dome9.Dome9Functions;
    import com.pulumi.dome9.inputs.GetAwsOrganizationOnboardingManagementStackArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = Dome9Functions.getAwsOrganizationOnboardingManagementStack(GetAwsOrganizationOnboardingManagementStackArgs.builder()
                .awsAccountId("AWS_MANAGEMENT_ACCOUNT_ID")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: dome9:getAwsOrganizationOnboardingManagementStack
          arguments:
            awsAccountId: AWS_MANAGEMENT_ACCOUNT_ID
    

    Using getAwsOrganizationOnboardingManagementStack

    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 getAwsOrganizationOnboardingManagementStack(args: GetAwsOrganizationOnboardingManagementStackArgs, opts?: InvokeOptions): Promise<GetAwsOrganizationOnboardingManagementStackResult>
    function getAwsOrganizationOnboardingManagementStackOutput(args: GetAwsOrganizationOnboardingManagementStackOutputArgs, opts?: InvokeOptions): Output<GetAwsOrganizationOnboardingManagementStackResult>
    def get_aws_organization_onboarding_management_stack(aws_account_id: Optional[str] = None,
                                                         id: Optional[str] = None,
                                                         opts: Optional[InvokeOptions] = None) -> GetAwsOrganizationOnboardingManagementStackResult
    def get_aws_organization_onboarding_management_stack_output(aws_account_id: Optional[pulumi.Input[str]] = None,
                                                         id: Optional[pulumi.Input[str]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> Output[GetAwsOrganizationOnboardingManagementStackResult]
    func GetAwsOrganizationOnboardingManagementStack(ctx *Context, args *GetAwsOrganizationOnboardingManagementStackArgs, opts ...InvokeOption) (*GetAwsOrganizationOnboardingManagementStackResult, error)
    func GetAwsOrganizationOnboardingManagementStackOutput(ctx *Context, args *GetAwsOrganizationOnboardingManagementStackOutputArgs, opts ...InvokeOption) GetAwsOrganizationOnboardingManagementStackResultOutput

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

    public static class GetAwsOrganizationOnboardingManagementStack 
    {
        public static Task<GetAwsOrganizationOnboardingManagementStackResult> InvokeAsync(GetAwsOrganizationOnboardingManagementStackArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsOrganizationOnboardingManagementStackResult> Invoke(GetAwsOrganizationOnboardingManagementStackInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsOrganizationOnboardingManagementStackResult> getAwsOrganizationOnboardingManagementStack(GetAwsOrganizationOnboardingManagementStackArgs args, InvokeOptions options)
    public static Output<GetAwsOrganizationOnboardingManagementStackResult> getAwsOrganizationOnboardingManagementStack(GetAwsOrganizationOnboardingManagementStackArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dome9:index/getAwsOrganizationOnboardingManagementStack:getAwsOrganizationOnboardingManagementStack
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AwsAccountId string
    The AWS management account ID.
    Id string
    AwsAccountId string
    The AWS management account ID.
    Id string
    awsAccountId String
    The AWS management account ID.
    id String
    awsAccountId string
    The AWS management account ID.
    id string
    aws_account_id str
    The AWS management account ID.
    id str
    awsAccountId String
    The AWS management account ID.
    id String

    getAwsOrganizationOnboardingManagementStack Result

    The following output properties are available:

    AwsAccountId string
    Content string
    The content of the management stack.
    ExternalId string
    Used in the CloudGuard role (also called secret).
    Id string
    IsManagementOnboarded bool
    The status of management onboarding (true if onboarded, false otherwise).
    ManagementCftUrl string
    The s3 URL of the CloudFormation template for management onboarding.
    AwsAccountId string
    Content string
    The content of the management stack.
    ExternalId string
    Used in the CloudGuard role (also called secret).
    Id string
    IsManagementOnboarded bool
    The status of management onboarding (true if onboarded, false otherwise).
    ManagementCftUrl string
    The s3 URL of the CloudFormation template for management onboarding.
    awsAccountId String
    content String
    The content of the management stack.
    externalId String
    Used in the CloudGuard role (also called secret).
    id String
    isManagementOnboarded Boolean
    The status of management onboarding (true if onboarded, false otherwise).
    managementCftUrl String
    The s3 URL of the CloudFormation template for management onboarding.
    awsAccountId string
    content string
    The content of the management stack.
    externalId string
    Used in the CloudGuard role (also called secret).
    id string
    isManagementOnboarded boolean
    The status of management onboarding (true if onboarded, false otherwise).
    managementCftUrl string
    The s3 URL of the CloudFormation template for management onboarding.
    aws_account_id str
    content str
    The content of the management stack.
    external_id str
    Used in the CloudGuard role (also called secret).
    id str
    is_management_onboarded bool
    The status of management onboarding (true if onboarded, false otherwise).
    management_cft_url str
    The s3 URL of the CloudFormation template for management onboarding.
    awsAccountId String
    content String
    The content of the management stack.
    externalId String
    Used in the CloudGuard role (also called secret).
    id String
    isManagementOnboarded Boolean
    The status of management onboarding (true if onboarded, false otherwise).
    managementCftUrl String
    The s3 URL of the CloudFormation template for management onboarding.

    Package Details

    Repository
    dome9 dome9/terraform-provider-dome9
    License
    Notes
    This Pulumi package is based on the dome9 Terraform Provider.
    dome9 logo
    dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9