1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementCmeAccountsAws
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.getManagementCmeAccountsAws

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const awsAccount = checkpoint.getManagementCmeAccountsAws({
        name: "awsAccount",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    aws_account = checkpoint.get_management_cme_accounts_aws(name="awsAccount")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.LookupManagementCmeAccountsAws(ctx, &checkpoint.LookupManagementCmeAccountsAwsArgs{
    			Name: "awsAccount",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var awsAccount = Checkpoint.GetManagementCmeAccountsAws.Invoke(new()
        {
            Name = "awsAccount",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementCmeAccountsAwsArgs;
    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 awsAccount = CheckpointFunctions.getManagementCmeAccountsAws(GetManagementCmeAccountsAwsArgs.builder()
                .name("awsAccount")
                .build());
    
        }
    }
    
    variables:
      awsAccount:
        fn::invoke:
          function: checkpoint:getManagementCmeAccountsAws
          arguments:
            name: awsAccount
    

    Using getManagementCmeAccountsAws

    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 getManagementCmeAccountsAws(args: GetManagementCmeAccountsAwsArgs, opts?: InvokeOptions): Promise<GetManagementCmeAccountsAwsResult>
    function getManagementCmeAccountsAwsOutput(args: GetManagementCmeAccountsAwsOutputArgs, opts?: InvokeOptions): Output<GetManagementCmeAccountsAwsResult>
    def get_management_cme_accounts_aws(id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetManagementCmeAccountsAwsResult
    def get_management_cme_accounts_aws_output(id: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetManagementCmeAccountsAwsResult]
    func LookupManagementCmeAccountsAws(ctx *Context, args *LookupManagementCmeAccountsAwsArgs, opts ...InvokeOption) (*LookupManagementCmeAccountsAwsResult, error)
    func LookupManagementCmeAccountsAwsOutput(ctx *Context, args *LookupManagementCmeAccountsAwsOutputArgs, opts ...InvokeOption) LookupManagementCmeAccountsAwsResultOutput

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

    public static class GetManagementCmeAccountsAws 
    {
        public static Task<GetManagementCmeAccountsAwsResult> InvokeAsync(GetManagementCmeAccountsAwsArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementCmeAccountsAwsResult> Invoke(GetManagementCmeAccountsAwsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementCmeAccountsAwsResult> getManagementCmeAccountsAws(GetManagementCmeAccountsAwsArgs args, InvokeOptions options)
    public static Output<GetManagementCmeAccountsAwsResult> getManagementCmeAccountsAws(GetManagementCmeAccountsAwsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementCmeAccountsAws:getManagementCmeAccountsAws
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Unique account name for identification.
    Id string
    Name string
    Unique account name for identification.
    Id string
    name String
    Unique account name for identification.
    id String
    name string
    Unique account name for identification.
    id string
    name str
    Unique account name for identification.
    id str
    name String
    Unique account name for identification.
    id String

    getManagementCmeAccountsAws Result

    The following output properties are available:

    accessKey String
    communities List<String>
    credentialsFile String
    deletionTolerance Number
    domain String
    gwConfigurations List<String>
    id String
    name String
    platform String
    regions List<String>
    scanGateways Boolean
    scanLoadBalancers Boolean
    scanSubnets Boolean
    scanVpn Boolean
    secretKey String
    stsExternalId String
    stsRole String
    subAccounts List<Property Map>

    Supporting Types

    GetManagementCmeAccountsAwsSubAccount

    AccessKey string
    Sub-account access key.
    CredentialsFile string
    Sub-account credentials file.
    Name string
    Sub-account name.
    SecretKey string
    Sub-account secret key.
    StsExternalId string
    Sub-account STS external id. Must exist with STS role.
    StsRole string
    Sub-account STS role.
    AccessKey string
    Sub-account access key.
    CredentialsFile string
    Sub-account credentials file.
    Name string
    Sub-account name.
    SecretKey string
    Sub-account secret key.
    StsExternalId string
    Sub-account STS external id. Must exist with STS role.
    StsRole string
    Sub-account STS role.
    accessKey String
    Sub-account access key.
    credentialsFile String
    Sub-account credentials file.
    name String
    Sub-account name.
    secretKey String
    Sub-account secret key.
    stsExternalId String
    Sub-account STS external id. Must exist with STS role.
    stsRole String
    Sub-account STS role.
    accessKey string
    Sub-account access key.
    credentialsFile string
    Sub-account credentials file.
    name string
    Sub-account name.
    secretKey string
    Sub-account secret key.
    stsExternalId string
    Sub-account STS external id. Must exist with STS role.
    stsRole string
    Sub-account STS role.
    access_key str
    Sub-account access key.
    credentials_file str
    Sub-account credentials file.
    name str
    Sub-account name.
    secret_key str
    Sub-account secret key.
    sts_external_id str
    Sub-account STS external id. Must exist with STS role.
    sts_role str
    Sub-account STS role.
    accessKey String
    Sub-account access key.
    credentialsFile String
    Sub-account credentials file.
    name String
    Sub-account name.
    secretKey String
    Sub-account secret key.
    stsExternalId String
    Sub-account STS external id. Must exist with STS role.
    stsRole String
    Sub-account STS role.

    Package Details

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