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
- Permissions
Policy objectDocument The access control resource policy on the provided domain.
- List<Pulumi.
Aws Native. Code Artifact. Outputs. Domain 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
- Permissions
Policy interface{}Document The access control resource policy on the provided domain.
- []Domain
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
- permissions
Policy ObjectDocument The access control resource policy on the provided domain.
- List<Domain
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
- permissions
Policy anyDocument The access control resource policy on the provided domain.
- Domain
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_ Anydocument The access control resource policy on the provided domain.
- Sequence[Domain
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
- permissions
Policy AnyDocument The access control resource policy on the provided domain.
- 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