UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

47 lines (46 loc) 1.48 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The resource schema to create a CodeArtifact domain. */ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>; export interface GetDomainArgs { /** * The ARN of the domain. */ arn: string; } export interface GetDomainResult { /** * The ARN of the domain. */ readonly arn?: string; /** * The name of the domain. This field is used for GetAtt */ readonly name?: string; /** * The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt */ readonly owner?: string; /** * The access control resource policy on the provided domain. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::CodeArtifact::Domain` for more information about the expected schema for this property. */ readonly permissionsPolicyDocument?: any; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; } /** * The resource schema to create a CodeArtifact domain. */ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>; export interface GetDomainOutputArgs { /** * The ARN of the domain. */ arn: pulumi.Input<string>; }