aws-native logo
AWS Native v0.53.0, Mar 14 23

aws-native.codeartifact.getDomain

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.

Tags List<Pulumi.AwsNative.CodeArtifact.Outputs.DomainTag>

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.

Tags []DomainTag

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.

tags List<DomainTag>

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.

tags DomainTag[]

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.

tags Sequence[DomainTag]

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.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

Supporting Types

DomainTag

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

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