1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. securityagent
  5. getAgentSpace

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 2026 by Pulumi

    Resource Type definition for AWS::SecurityAgent::AgentSpace

    Using getAgentSpace

    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 getAgentSpace(args: GetAgentSpaceArgs, opts?: InvokeOptions): Promise<GetAgentSpaceResult>
    function getAgentSpaceOutput(args: GetAgentSpaceOutputArgs, opts?: InvokeOptions): Output<GetAgentSpaceResult>
    def get_agent_space(agent_space_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAgentSpaceResult
    def get_agent_space_output(agent_space_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAgentSpaceResult]
    func LookupAgentSpace(ctx *Context, args *LookupAgentSpaceArgs, opts ...InvokeOption) (*LookupAgentSpaceResult, error)
    func LookupAgentSpaceOutput(ctx *Context, args *LookupAgentSpaceOutputArgs, opts ...InvokeOption) LookupAgentSpaceResultOutput

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

    public static class GetAgentSpace 
    {
        public static Task<GetAgentSpaceResult> InvokeAsync(GetAgentSpaceArgs args, InvokeOptions? opts = null)
        public static Output<GetAgentSpaceResult> Invoke(GetAgentSpaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAgentSpaceResult> getAgentSpace(GetAgentSpaceArgs args, InvokeOptions options)
    public static Output<GetAgentSpaceResult> getAgentSpace(GetAgentSpaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:securityagent:getAgentSpace
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AgentSpaceId string
    Unique identifier of the agent space
    AgentSpaceId string
    Unique identifier of the agent space
    agentSpaceId String
    Unique identifier of the agent space
    agentSpaceId string
    Unique identifier of the agent space
    agent_space_id str
    Unique identifier of the agent space
    agentSpaceId String
    Unique identifier of the agent space

    getAgentSpace Result

    The following output properties are available:

    AgentSpaceId string
    Unique identifier of the agent space
    AwsResources Pulumi.AwsNative.SecurityAgent.Outputs.AgentSpaceAwsResources
    CodeReviewSettings Pulumi.AwsNative.SecurityAgent.Outputs.AgentSpaceCodeReviewSettings
    CreatedAt string
    Timestamp when the agent space was created
    Description string
    Description of the agent space
    IntegratedResources List<Pulumi.AwsNative.SecurityAgent.Outputs.AgentSpaceIntegratedResource>
    Name string
    Name of the agent space
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags for the agent space
    TargetDomainIds List<string>
    List of target domain identifiers registered with the agent space
    UpdatedAt string
    Timestamp when the agent space was last updated
    AgentSpaceId string
    Unique identifier of the agent space
    AwsResources AgentSpaceAwsResources
    CodeReviewSettings AgentSpaceCodeReviewSettings
    CreatedAt string
    Timestamp when the agent space was created
    Description string
    Description of the agent space
    IntegratedResources []AgentSpaceIntegratedResource
    Name string
    Name of the agent space
    Tags Tag
    Tags for the agent space
    TargetDomainIds []string
    List of target domain identifiers registered with the agent space
    UpdatedAt string
    Timestamp when the agent space was last updated
    agentSpaceId String
    Unique identifier of the agent space
    awsResources AgentSpaceAwsResources
    codeReviewSettings AgentSpaceCodeReviewSettings
    createdAt String
    Timestamp when the agent space was created
    description String
    Description of the agent space
    integratedResources List<AgentSpaceIntegratedResource>
    name String
    Name of the agent space
    tags List<Tag>
    Tags for the agent space
    targetDomainIds List<String>
    List of target domain identifiers registered with the agent space
    updatedAt String
    Timestamp when the agent space was last updated
    agentSpaceId string
    Unique identifier of the agent space
    awsResources AgentSpaceAwsResources
    codeReviewSettings AgentSpaceCodeReviewSettings
    createdAt string
    Timestamp when the agent space was created
    description string
    Description of the agent space
    integratedResources AgentSpaceIntegratedResource[]
    name string
    Name of the agent space
    tags Tag[]
    Tags for the agent space
    targetDomainIds string[]
    List of target domain identifiers registered with the agent space
    updatedAt string
    Timestamp when the agent space was last updated
    agent_space_id str
    Unique identifier of the agent space
    aws_resources AgentSpaceAwsResources
    code_review_settings AgentSpaceCodeReviewSettings
    created_at str
    Timestamp when the agent space was created
    description str
    Description of the agent space
    integrated_resources Sequence[AgentSpaceIntegratedResource]
    name str
    Name of the agent space
    tags Sequence[root_Tag]
    Tags for the agent space
    target_domain_ids Sequence[str]
    List of target domain identifiers registered with the agent space
    updated_at str
    Timestamp when the agent space was last updated
    agentSpaceId String
    Unique identifier of the agent space
    awsResources Property Map
    codeReviewSettings Property Map
    createdAt String
    Timestamp when the agent space was created
    description String
    Description of the agent space
    integratedResources List<Property Map>
    name String
    Name of the agent space
    tags List<Property Map>
    Tags for the agent space
    targetDomainIds List<String>
    List of target domain identifiers registered with the agent space
    updatedAt String
    Timestamp when the agent space was last updated

    Supporting Types

    AgentSpaceAwsResources

    IamRoles List<string>
    IAM role ARNs
    LambdaFunctionArns List<string>
    Lambda function ARNs used to retrieve tester credentials for pentests
    LogGroups List<string>
    CloudWatch log group ARNs
    S3Buckets List<string>
    S3 bucket ARNs
    SecretArns List<string>
    SecretsManager secret ARNs used to store tester credentials for pentests
    Vpcs List<Pulumi.AwsNative.SecurityAgent.Inputs.AgentSpaceVpcConfig>
    VPC configurations
    IamRoles []string
    IAM role ARNs
    LambdaFunctionArns []string
    Lambda function ARNs used to retrieve tester credentials for pentests
    LogGroups []string
    CloudWatch log group ARNs
    S3Buckets []string
    S3 bucket ARNs
    SecretArns []string
    SecretsManager secret ARNs used to store tester credentials for pentests
    Vpcs []AgentSpaceVpcConfig
    VPC configurations
    iamRoles List<String>
    IAM role ARNs
    lambdaFunctionArns List<String>
    Lambda function ARNs used to retrieve tester credentials for pentests
    logGroups List<String>
    CloudWatch log group ARNs
    s3Buckets List<String>
    S3 bucket ARNs
    secretArns List<String>
    SecretsManager secret ARNs used to store tester credentials for pentests
    vpcs List<AgentSpaceVpcConfig>
    VPC configurations
    iamRoles string[]
    IAM role ARNs
    lambdaFunctionArns string[]
    Lambda function ARNs used to retrieve tester credentials for pentests
    logGroups string[]
    CloudWatch log group ARNs
    s3Buckets string[]
    S3 bucket ARNs
    secretArns string[]
    SecretsManager secret ARNs used to store tester credentials for pentests
    vpcs AgentSpaceVpcConfig[]
    VPC configurations
    iam_roles Sequence[str]
    IAM role ARNs
    lambda_function_arns Sequence[str]
    Lambda function ARNs used to retrieve tester credentials for pentests
    log_groups Sequence[str]
    CloudWatch log group ARNs
    s3_buckets Sequence[str]
    S3 bucket ARNs
    secret_arns Sequence[str]
    SecretsManager secret ARNs used to store tester credentials for pentests
    vpcs Sequence[AgentSpaceVpcConfig]
    VPC configurations
    iamRoles List<String>
    IAM role ARNs
    lambdaFunctionArns List<String>
    Lambda function ARNs used to retrieve tester credentials for pentests
    logGroups List<String>
    CloudWatch log group ARNs
    s3Buckets List<String>
    S3 bucket ARNs
    secretArns List<String>
    SecretsManager secret ARNs used to store tester credentials for pentests
    vpcs List<Property Map>
    VPC configurations

    AgentSpaceCodeReviewSettings

    ControlsScanning bool
    Whether Controls are utilized for code review analysis
    GeneralPurposeScanning bool
    Whether general purpose analysis is performed for code review
    ControlsScanning bool
    Whether Controls are utilized for code review analysis
    GeneralPurposeScanning bool
    Whether general purpose analysis is performed for code review
    controlsScanning Boolean
    Whether Controls are utilized for code review analysis
    generalPurposeScanning Boolean
    Whether general purpose analysis is performed for code review
    controlsScanning boolean
    Whether Controls are utilized for code review analysis
    generalPurposeScanning boolean
    Whether general purpose analysis is performed for code review
    controls_scanning bool
    Whether Controls are utilized for code review analysis
    general_purpose_scanning bool
    Whether general purpose analysis is performed for code review
    controlsScanning Boolean
    Whether Controls are utilized for code review analysis
    generalPurposeScanning Boolean
    Whether general purpose analysis is performed for code review

    AgentSpaceGitHubCapabilitiesResource

    LeaveComments bool
    Enables Code Review in the repository
    RemediateCode bool
    Enables creation of pull requests with automated fixes
    LeaveComments bool
    Enables Code Review in the repository
    RemediateCode bool
    Enables creation of pull requests with automated fixes
    leaveComments Boolean
    Enables Code Review in the repository
    remediateCode Boolean
    Enables creation of pull requests with automated fixes
    leaveComments boolean
    Enables Code Review in the repository
    remediateCode boolean
    Enables creation of pull requests with automated fixes
    leave_comments bool
    Enables Code Review in the repository
    remediate_code bool
    Enables creation of pull requests with automated fixes
    leaveComments Boolean
    Enables Code Review in the repository
    remediateCode Boolean
    Enables creation of pull requests with automated fixes

    AgentSpaceGitHubRepositoryResource

    Name string
    GitHub repository name
    Owner string
    GitHub repository owner (user or organization)
    Name string
    GitHub repository name
    Owner string
    GitHub repository owner (user or organization)
    name String
    GitHub repository name
    owner String
    GitHub repository owner (user or organization)
    name string
    GitHub repository name
    owner string
    GitHub repository owner (user or organization)
    name str
    GitHub repository name
    owner str
    GitHub repository owner (user or organization)
    name String
    GitHub repository name
    owner String
    GitHub repository owner (user or organization)

    AgentSpaceIntegratedResource

    Integration string
    Unique identifier of the Provider Integration
    ProviderResources List<Pulumi.AwsNative.SecurityAgent.Inputs.AgentSpaceProviderResource>
    List of selected Resources from the Integration
    Integration string
    Unique identifier of the Provider Integration
    ProviderResources []AgentSpaceProviderResource
    List of selected Resources from the Integration
    integration String
    Unique identifier of the Provider Integration
    providerResources List<AgentSpaceProviderResource>
    List of selected Resources from the Integration
    integration string
    Unique identifier of the Provider Integration
    providerResources AgentSpaceProviderResource[]
    List of selected Resources from the Integration
    integration str
    Unique identifier of the Provider Integration
    provider_resources Sequence[AgentSpaceProviderResource]
    List of selected Resources from the Integration
    integration String
    Unique identifier of the Provider Integration
    providerResources List<Property Map>
    List of selected Resources from the Integration

    AgentSpaceProviderResource

    AgentSpaceVpcConfig

    SecurityGroupArns List<string>
    List of security group ARNs in the customer VPC
    SubnetArns List<string>
    List of subnet ARNs in the customer VPC
    VpcArn string
    ARN of the customer VPC
    SecurityGroupArns []string
    List of security group ARNs in the customer VPC
    SubnetArns []string
    List of subnet ARNs in the customer VPC
    VpcArn string
    ARN of the customer VPC
    securityGroupArns List<String>
    List of security group ARNs in the customer VPC
    subnetArns List<String>
    List of subnet ARNs in the customer VPC
    vpcArn String
    ARN of the customer VPC
    securityGroupArns string[]
    List of security group ARNs in the customer VPC
    subnetArns string[]
    List of subnet ARNs in the customer VPC
    vpcArn string
    ARN of the customer VPC
    security_group_arns Sequence[str]
    List of security group ARNs in the customer VPC
    subnet_arns Sequence[str]
    List of subnet ARNs in the customer VPC
    vpc_arn str
    ARN of the customer VPC
    securityGroupArns List<String>
    List of security group ARNs in the customer VPC
    subnetArns List<String>
    List of subnet ARNs in the customer VPC
    vpcArn String
    ARN of the customer VPC

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.61.0
    published on Monday, Apr 13, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.