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

dome9.getCloudaccountAws

Explore with Pulumi AI

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

    Use this data source to get information about an AWS cloud account onboarded to Dome9.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dome9 from "@pulumi/dome9";
    
    const test = dome9.getCloudaccountAws({
        id: "d9-AWS-cloud-account-id",
    });
    
    import pulumi
    import pulumi_dome9 as dome9
    
    test = dome9.get_cloudaccount_aws(id="d9-AWS-cloud-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.LookupCloudaccountAws(ctx, &dome9.LookupCloudaccountAwsArgs{
    			Id: "d9-AWS-cloud-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 test = Dome9.GetCloudaccountAws.Invoke(new()
        {
            Id = "d9-AWS-cloud-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.GetCloudaccountAwsArgs;
    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 test = Dome9Functions.getCloudaccountAws(GetCloudaccountAwsArgs.builder()
                .id("d9-AWS-cloud-account-id")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: dome9:getCloudaccountAws
          arguments:
            id: d9-AWS-cloud-account-id
    

    Using getCloudaccountAws

    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 getCloudaccountAws(args: GetCloudaccountAwsArgs, opts?: InvokeOptions): Promise<GetCloudaccountAwsResult>
    function getCloudaccountAwsOutput(args: GetCloudaccountAwsOutputArgs, opts?: InvokeOptions): Output<GetCloudaccountAwsResult>
    def get_cloudaccount_aws(id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCloudaccountAwsResult
    def get_cloudaccount_aws_output(id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCloudaccountAwsResult]
    func LookupCloudaccountAws(ctx *Context, args *LookupCloudaccountAwsArgs, opts ...InvokeOption) (*LookupCloudaccountAwsResult, error)
    func LookupCloudaccountAwsOutput(ctx *Context, args *LookupCloudaccountAwsOutputArgs, opts ...InvokeOption) LookupCloudaccountAwsResultOutput

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

    public static class GetCloudaccountAws 
    {
        public static Task<GetCloudaccountAwsResult> InvokeAsync(GetCloudaccountAwsArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudaccountAwsResult> Invoke(GetCloudaccountAwsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudaccountAwsResult> getCloudaccountAws(GetCloudaccountAwsArgs args, InvokeOptions options)
    public static Output<GetCloudaccountAwsResult> getCloudaccountAws(GetCloudaccountAwsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dome9:index/getCloudaccountAws:getCloudaccountAws
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Dome9 id for the AWS account
    Id string
    The Dome9 id for the AWS account
    id String
    The Dome9 id for the AWS account
    id string
    The Dome9 id for the AWS account
    id str
    The Dome9 id for the AWS account
    id String
    The Dome9 id for the AWS account

    getCloudaccountAws Result

    The following output properties are available:

    AllowReadOnly bool
    The AWS cloud account operation mode. true for "Manage", false for "Readonly".
    CreationDate string
    Date account was onboarded to Dome9.
    ExternalAccountNumber string
    The AWS account number.
    FullProtection bool
    The tamper Protection mode for current security groups.
    IamSaves List<GetCloudaccountAwsIamSafe>
    Id string
    IsFetchingSuspended bool
    Fetching suspending status.
    Name string
    The cloud account name in Dome9.
    NetSecs List<GetCloudaccountAwsNetSec>
    The network security configuration for the AWS cloud account.
    OrganizationalUnitId string
    Organizational unit id.

    • IAM_safe - IAM safe entity details
    • AWS_group_ARN - AWS group ARN
    • AWS_policy_ARN - AWS policy ARN
    Vendor string
    The cloud provider ("aws/awsgov").
    AllowReadOnly bool
    The AWS cloud account operation mode. true for "Manage", false for "Readonly".
    CreationDate string
    Date account was onboarded to Dome9.
    ExternalAccountNumber string
    The AWS account number.
    FullProtection bool
    The tamper Protection mode for current security groups.
    IamSaves []GetCloudaccountAwsIamSafe
    Id string
    IsFetchingSuspended bool
    Fetching suspending status.
    Name string
    The cloud account name in Dome9.
    NetSecs []GetCloudaccountAwsNetSec
    The network security configuration for the AWS cloud account.
    OrganizationalUnitId string
    Organizational unit id.

    • IAM_safe - IAM safe entity details
    • AWS_group_ARN - AWS group ARN
    • AWS_policy_ARN - AWS policy ARN
    Vendor string
    The cloud provider ("aws/awsgov").
    allowReadOnly Boolean
    The AWS cloud account operation mode. true for "Manage", false for "Readonly".
    creationDate String
    Date account was onboarded to Dome9.
    externalAccountNumber String
    The AWS account number.
    fullProtection Boolean
    The tamper Protection mode for current security groups.
    iamSaves List<GetCloudaccountAwsIamSafe>
    id String
    isFetchingSuspended Boolean
    Fetching suspending status.
    name String
    The cloud account name in Dome9.
    netSecs List<GetCloudaccountAwsNetSec>
    The network security configuration for the AWS cloud account.
    organizationalUnitId String
    Organizational unit id.

    • IAM_safe - IAM safe entity details
    • AWS_group_ARN - AWS group ARN
    • AWS_policy_ARN - AWS policy ARN
    vendor String
    The cloud provider ("aws/awsgov").
    allowReadOnly boolean
    The AWS cloud account operation mode. true for "Manage", false for "Readonly".
    creationDate string
    Date account was onboarded to Dome9.
    externalAccountNumber string
    The AWS account number.
    fullProtection boolean
    The tamper Protection mode for current security groups.
    iamSaves GetCloudaccountAwsIamSafe[]
    id string
    isFetchingSuspended boolean
    Fetching suspending status.
    name string
    The cloud account name in Dome9.
    netSecs GetCloudaccountAwsNetSec[]
    The network security configuration for the AWS cloud account.
    organizationalUnitId string
    Organizational unit id.

    • IAM_safe - IAM safe entity details
    • AWS_group_ARN - AWS group ARN
    • AWS_policy_ARN - AWS policy ARN
    vendor string
    The cloud provider ("aws/awsgov").
    allow_read_only bool
    The AWS cloud account operation mode. true for "Manage", false for "Readonly".
    creation_date str
    Date account was onboarded to Dome9.
    external_account_number str
    The AWS account number.
    full_protection bool
    The tamper Protection mode for current security groups.
    iam_saves Sequence[GetCloudaccountAwsIamSafe]
    id str
    is_fetching_suspended bool
    Fetching suspending status.
    name str
    The cloud account name in Dome9.
    net_secs Sequence[GetCloudaccountAwsNetSec]
    The network security configuration for the AWS cloud account.
    organizational_unit_id str
    Organizational unit id.

    • IAM_safe - IAM safe entity details
    • AWS_group_ARN - AWS group ARN
    • AWS_policy_ARN - AWS policy ARN
    vendor str
    The cloud provider ("aws/awsgov").
    allowReadOnly Boolean
    The AWS cloud account operation mode. true for "Manage", false for "Readonly".
    creationDate String
    Date account was onboarded to Dome9.
    externalAccountNumber String
    The AWS account number.
    fullProtection Boolean
    The tamper Protection mode for current security groups.
    iamSaves List<Property Map>
    id String
    isFetchingSuspended Boolean
    Fetching suspending status.
    name String
    The cloud account name in Dome9.
    netSecs List<Property Map>
    The network security configuration for the AWS cloud account.
    organizationalUnitId String
    Organizational unit id.

    • IAM_safe - IAM safe entity details
    • AWS_group_ARN - AWS group ARN
    • AWS_policy_ARN - AWS policy ARN
    vendor String
    The cloud provider ("aws/awsgov").

    Supporting Types

    GetCloudaccountAwsIamSafe

    AwsGroupArn string
    AwsPolicyArn string
    Mode string
    Mode

    • restricted_IAM_entities - Restricted IAM safe entities which has the following:
    • roles_ARNs - Restricted IAM safe entities roles ARNs
    • users_ARNs - Restricted IAM safe entities users ARNs
    RestrictedIamEntities List<GetCloudaccountAwsIamSafeRestrictedIamEntity>
    AwsGroupArn string
    AwsPolicyArn string
    Mode string
    Mode

    • restricted_IAM_entities - Restricted IAM safe entities which has the following:
    • roles_ARNs - Restricted IAM safe entities roles ARNs
    • users_ARNs - Restricted IAM safe entities users ARNs
    RestrictedIamEntities []GetCloudaccountAwsIamSafeRestrictedIamEntity
    awsGroupArn String
    awsPolicyArn String
    mode String
    Mode

    • restricted_IAM_entities - Restricted IAM safe entities which has the following:
    • roles_ARNs - Restricted IAM safe entities roles ARNs
    • users_ARNs - Restricted IAM safe entities users ARNs
    restrictedIamEntities List<GetCloudaccountAwsIamSafeRestrictedIamEntity>
    awsGroupArn string
    awsPolicyArn string
    mode string
    Mode

    • restricted_IAM_entities - Restricted IAM safe entities which has the following:
    • roles_ARNs - Restricted IAM safe entities roles ARNs
    • users_ARNs - Restricted IAM safe entities users ARNs
    restrictedIamEntities GetCloudaccountAwsIamSafeRestrictedIamEntity[]
    aws_group_arn str
    aws_policy_arn str
    mode str
    Mode

    • restricted_IAM_entities - Restricted IAM safe entities which has the following:
    • roles_ARNs - Restricted IAM safe entities roles ARNs
    • users_ARNs - Restricted IAM safe entities users ARNs
    restricted_iam_entities Sequence[GetCloudaccountAwsIamSafeRestrictedIamEntity]
    awsGroupArn String
    awsPolicyArn String
    mode String
    Mode

    • restricted_IAM_entities - Restricted IAM safe entities which has the following:
    • roles_ARNs - Restricted IAM safe entities roles ARNs
    • users_ARNs - Restricted IAM safe entities users ARNs
    restrictedIamEntities List<Property Map>

    GetCloudaccountAwsIamSafeRestrictedIamEntity

    RolesArns List<string>
    UsersArns List<string>
    RolesArns []string
    UsersArns []string
    rolesArns List<String>
    usersArns List<String>
    rolesArns string[]
    usersArns string[]
    roles_arns Sequence[str]
    users_arns Sequence[str]
    rolesArns List<String>
    usersArns List<String>

    GetCloudaccountAwsNetSec

    GetCloudaccountAwsNetSecRegion

    Hidden bool
    Name string
    The cloud account name in Dome9.
    NewGroupBehavior string
    Region string
    Hidden bool
    Name string
    The cloud account name in Dome9.
    NewGroupBehavior string
    Region string
    hidden Boolean
    name String
    The cloud account name in Dome9.
    newGroupBehavior String
    region String
    hidden boolean
    name string
    The cloud account name in Dome9.
    newGroupBehavior string
    region string
    hidden bool
    name str
    The cloud account name in Dome9.
    new_group_behavior str
    region str
    hidden Boolean
    name String
    The cloud account name in Dome9.
    newGroupBehavior String
    region String

    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