We recommend new projects start with resources from the AWS provider.
aws-native.codeartifact.getDomain
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Domain
for more information about the expected schema for this property.- List<Pulumi.
Aws Native. 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
- Permissions
Policy interface{}Document 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.- 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.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Domain
for more information about the expected schema for this property.- 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
- permissions
Policy anyDocument 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.- 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.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Domain
for more information about the expected schema for this property.- 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
- permissions
Policy AnyDocument 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.- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.