1. Packages
  2. AWS Native
  3. API Docs
  4. codeartifact
  5. getDomain

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.codeartifact.getDomain

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    The resource schema to create a CodeArtifact domain.

    Using getDomain

    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 getDomain(args: GetDomainArgs, opts?: InvokeOptions): Promise<GetDomainResult>
    function getDomainOutput(args: GetDomainOutputArgs, opts?: InvokeOptions): Output<GetDomainResult>
    def get_domain(arn: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDomainResult
    def get_domain_output(arn: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDomainResult]
    func LookupDomain(ctx *Context, args *LookupDomainArgs, opts ...InvokeOption) (*LookupDomainResult, error)
    func LookupDomainOutput(ctx *Context, args *LookupDomainOutputArgs, opts ...InvokeOption) LookupDomainResultOutput

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

    public static class GetDomain 
    {
        public static Task<GetDomainResult> InvokeAsync(GetDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainResult> Invoke(GetDomainInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:codeartifact:getDomain
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The ARN of the domain.
    Arn string
    The ARN of the domain.
    arn String
    The ARN of the domain.
    arn string
    The ARN of the domain.
    arn str
    The ARN of the domain.
    arn String
    The ARN of the domain.

    getDomain Result

    The following output properties are available:

    Arn string
    The ARN of the domain.
    Name string
    The name of the domain. This field is used for GetAtt
    Owner string
    The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
    PermissionsPolicyDocument object

    The access control resource policy on the provided domain.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Domain for more information about the expected schema for this property.

    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The ARN of the domain.
    Name string
    The name of the domain. This field is used for GetAtt
    Owner string
    The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
    PermissionsPolicyDocument interface{}

    The access control resource policy on the provided domain.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Domain for more information about the expected schema for this property.

    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    The ARN of the domain.
    name String
    The name of the domain. This field is used for GetAtt
    owner String
    The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
    permissionsPolicyDocument Object

    The access control resource policy on the provided domain.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Domain for more information about the expected schema for this property.

    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The ARN of the domain.
    name string
    The name of the domain. This field is used for GetAtt
    owner string
    The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
    permissionsPolicyDocument any

    The access control resource policy on the provided domain.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Domain for more information about the expected schema for this property.

    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The ARN of the domain.
    name str
    The name of the domain. This field is used for GetAtt
    owner str
    The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
    permissions_policy_document Any

    The access control resource policy on the provided domain.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Domain for more information about the expected schema for this property.

    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The ARN of the domain.
    name String
    The name of the domain. This field is used for GetAtt
    owner String
    The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
    permissionsPolicyDocument Any

    The access control resource policy on the provided domain.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Domain for more information about the expected schema for this property.

    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    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.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi