dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9
dome9.getCloudaccountAws
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 dictionaryThe 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:
- Allow
Read boolOnly - The AWS cloud account operation mode. true for "Manage", false for "Readonly".
- Creation
Date string - Date account was onboarded to Dome9.
- External
Account stringNumber - The AWS account number.
- Full
Protection bool - The tamper Protection mode for current security groups.
- Iam
Saves List<GetCloudaccount Aws Iam Safe> - Id string
- Is
Fetching boolSuspended - Fetching suspending status.
- Name string
- The cloud account name in Dome9.
- Net
Secs List<GetCloudaccount Aws Net Sec> - The network security configuration for the AWS cloud account.
- Organizational
Unit stringId - Organizational unit id.
IAM_safe- IAM safe entity detailsAWS_group_ARN- AWS group ARNAWS_policy_ARN- AWS policy ARN
- Vendor string
- The cloud provider ("aws/awsgov").
- Allow
Read boolOnly - The AWS cloud account operation mode. true for "Manage", false for "Readonly".
- Creation
Date string - Date account was onboarded to Dome9.
- External
Account stringNumber - The AWS account number.
- Full
Protection bool - The tamper Protection mode for current security groups.
- Iam
Saves []GetCloudaccount Aws Iam Safe - Id string
- Is
Fetching boolSuspended - Fetching suspending status.
- Name string
- The cloud account name in Dome9.
- Net
Secs []GetCloudaccount Aws Net Sec - The network security configuration for the AWS cloud account.
- Organizational
Unit stringId - Organizational unit id.
IAM_safe- IAM safe entity detailsAWS_group_ARN- AWS group ARNAWS_policy_ARN- AWS policy ARN
- Vendor string
- The cloud provider ("aws/awsgov").
- allow
Read BooleanOnly - The AWS cloud account operation mode. true for "Manage", false for "Readonly".
- creation
Date String - Date account was onboarded to Dome9.
- external
Account StringNumber - The AWS account number.
- full
Protection Boolean - The tamper Protection mode for current security groups.
- iam
Saves List<GetCloudaccount Aws Iam Safe> - id String
- is
Fetching BooleanSuspended - Fetching suspending status.
- name String
- The cloud account name in Dome9.
- net
Secs List<GetCloudaccount Aws Net Sec> - The network security configuration for the AWS cloud account.
- organizational
Unit StringId - Organizational unit id.
IAM_safe- IAM safe entity detailsAWS_group_ARN- AWS group ARNAWS_policy_ARN- AWS policy ARN
- vendor String
- The cloud provider ("aws/awsgov").
- allow
Read booleanOnly - The AWS cloud account operation mode. true for "Manage", false for "Readonly".
- creation
Date string - Date account was onboarded to Dome9.
- external
Account stringNumber - The AWS account number.
- full
Protection boolean - The tamper Protection mode for current security groups.
- iam
Saves GetCloudaccount Aws Iam Safe[] - id string
- is
Fetching booleanSuspended - Fetching suspending status.
- name string
- The cloud account name in Dome9.
- net
Secs GetCloudaccount Aws Net Sec[] - The network security configuration for the AWS cloud account.
- organizational
Unit stringId - Organizational unit id.
IAM_safe- IAM safe entity detailsAWS_group_ARN- AWS group ARNAWS_policy_ARN- AWS policy ARN
- vendor string
- The cloud provider ("aws/awsgov").
- allow_
read_ boolonly - The AWS cloud account operation mode. true for "Manage", false for "Readonly".
- creation_
date str - Date account was onboarded to Dome9.
- external_
account_ strnumber - The AWS account number.
- full_
protection bool - The tamper Protection mode for current security groups.
- iam_
saves Sequence[GetCloudaccount Aws Iam Safe] - id str
- is_
fetching_ boolsuspended - Fetching suspending status.
- name str
- The cloud account name in Dome9.
- net_
secs Sequence[GetCloudaccount Aws Net Sec] - The network security configuration for the AWS cloud account.
- organizational_
unit_ strid - Organizational unit id.
IAM_safe- IAM safe entity detailsAWS_group_ARN- AWS group ARNAWS_policy_ARN- AWS policy ARN
- vendor str
- The cloud provider ("aws/awsgov").
- allow
Read BooleanOnly - The AWS cloud account operation mode. true for "Manage", false for "Readonly".
- creation
Date String - Date account was onboarded to Dome9.
- external
Account StringNumber - The AWS account number.
- full
Protection Boolean - The tamper Protection mode for current security groups.
- iam
Saves List<Property Map> - id String
- is
Fetching BooleanSuspended - Fetching suspending status.
- name String
- The cloud account name in Dome9.
- net
Secs List<Property Map> - The network security configuration for the AWS cloud account.
- organizational
Unit StringId - Organizational unit id.
IAM_safe- IAM safe entity detailsAWS_group_ARN- AWS group ARNAWS_policy_ARN- AWS policy ARN
- vendor String
- The cloud provider ("aws/awsgov").
Supporting Types
GetCloudaccountAwsIamSafe
- Aws
Group stringArn - Aws
Policy stringArn - Mode string
- Mode
restricted_IAM_entities- Restricted IAM safe entities which has the following:roles_ARNs- Restricted IAM safe entities roles ARNsusers_ARNs- Restricted IAM safe entities users ARNs
- Restricted
Iam List<GetEntities Cloudaccount Aws Iam Safe Restricted Iam Entity>
- Aws
Group stringArn - Aws
Policy stringArn - Mode string
- Mode
restricted_IAM_entities- Restricted IAM safe entities which has the following:roles_ARNs- Restricted IAM safe entities roles ARNsusers_ARNs- Restricted IAM safe entities users ARNs
- Restricted
Iam []GetEntities Cloudaccount Aws Iam Safe Restricted Iam Entity
- aws
Group StringArn - aws
Policy StringArn - mode String
- Mode
restricted_IAM_entities- Restricted IAM safe entities which has the following:roles_ARNs- Restricted IAM safe entities roles ARNsusers_ARNs- Restricted IAM safe entities users ARNs
- restricted
Iam List<GetEntities Cloudaccount Aws Iam Safe Restricted Iam Entity>
- aws
Group stringArn - aws
Policy stringArn - mode string
- Mode
restricted_IAM_entities- Restricted IAM safe entities which has the following:roles_ARNs- Restricted IAM safe entities roles ARNsusers_ARNs- Restricted IAM safe entities users ARNs
- restricted
Iam GetEntities Cloudaccount Aws Iam Safe Restricted Iam Entity[]
- aws_
group_ strarn - aws_
policy_ strarn - mode str
- Mode
restricted_IAM_entities- Restricted IAM safe entities which has the following:roles_ARNs- Restricted IAM safe entities roles ARNsusers_ARNs- Restricted IAM safe entities users ARNs
- restricted_
iam_ Sequence[Getentities Cloudaccount Aws Iam Safe Restricted Iam Entity]
- aws
Group StringArn - aws
Policy StringArn - mode String
- Mode
restricted_IAM_entities- Restricted IAM safe entities which has the following:roles_ARNs- Restricted IAM safe entities roles ARNsusers_ARNs- Restricted IAM safe entities users ARNs
- restricted
Iam List<Property Map>Entities
GetCloudaccountAwsIamSafeRestrictedIamEntity
- roles_
arns Sequence[str] - users_
arns Sequence[str]
GetCloudaccountAwsNetSec
GetCloudaccountAwsNetSecRegion
- bool
- Name string
- The cloud account name in Dome9.
- New
Group stringBehavior - Region string
- bool
- Name string
- The cloud account name in Dome9.
- New
Group stringBehavior - Region string
- Boolean
- name String
- The cloud account name in Dome9.
- new
Group StringBehavior - region String
- boolean
- name string
- The cloud account name in Dome9.
- new
Group stringBehavior - region string
- bool
- name str
- The cloud account name in Dome9.
- new_
group_ strbehavior - region str
- Boolean
- name String
- The cloud account name in Dome9.
- new
Group StringBehavior - region String
Package Details
- Repository
- dome9 dome9/terraform-provider-dome9
- License
- Notes
- This Pulumi package is based on the
dome9Terraform Provider.
