AWS Native
getRepository
The resource schema to create a CodeArtifact repository.
Using getRepository
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 getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
def get_repository(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput
> Note: This function is named LookupRepository
in the Go SDK.
public static class GetRepository
{
public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aws-native:codeartifact:getRepository
Arguments:
# Arguments dictionary
The following arguments are supported:
- Arn string
The ARN of the repository.
- Arn string
The ARN of the repository.
- arn String
The ARN of the repository.
- arn string
The ARN of the repository.
- arn str
The ARN of the repository.
- arn String
The ARN of the repository.
getRepository Result
The following output properties are available:
- Arn string
The ARN of the repository.
- Description string
A text description of the repository.
- External
Connections List<string> A list of external connections associated with the repository.
- Name string
The name of the repository. This is used for GetAtt
- Permissions
Policy objectDocument The access control resource policy on the provided repository.
- List<Pulumi.
Aws Native. Code Artifact. Outputs. Repository Tag> An array of key-value pairs to apply to this resource.
- Upstreams List<string>
A list of upstream repositories associated with the repository.
- Arn string
The ARN of the repository.
- Description string
A text description of the repository.
- External
Connections []string A list of external connections associated with the repository.
- Name string
The name of the repository. This is used for GetAtt
- Permissions
Policy interface{}Document The access control resource policy on the provided repository.
- []Repository
Tag An array of key-value pairs to apply to this resource.
- Upstreams []string
A list of upstream repositories associated with the repository.
- arn String
The ARN of the repository.
- description String
A text description of the repository.
- external
Connections List<String> A list of external connections associated with the repository.
- name String
The name of the repository. This is used for GetAtt
- permissions
Policy ObjectDocument The access control resource policy on the provided repository.
- List<Repository
Tag> An array of key-value pairs to apply to this resource.
- upstreams List<String>
A list of upstream repositories associated with the repository.
- arn string
The ARN of the repository.
- description string
A text description of the repository.
- external
Connections string[] A list of external connections associated with the repository.
- name string
The name of the repository. This is used for GetAtt
- permissions
Policy anyDocument The access control resource policy on the provided repository.
- Repository
Tag[] An array of key-value pairs to apply to this resource.
- upstreams string[]
A list of upstream repositories associated with the repository.
- arn str
The ARN of the repository.
- description str
A text description of the repository.
- external_
connections Sequence[str] A list of external connections associated with the repository.
- name str
The name of the repository. This is used for GetAtt
- permissions_
policy_ Anydocument The access control resource policy on the provided repository.
- Sequence[Repository
Tag] An array of key-value pairs to apply to this resource.
- upstreams Sequence[str]
A list of upstream repositories associated with the repository.
- arn String
The ARN of the repository.
- description String
A text description of the repository.
- external
Connections List<String> A list of external connections associated with the repository.
- name String
The name of the repository. This is used for GetAtt
- permissions
Policy AnyDocument The access control resource policy on the provided repository.
- List<Property Map>
An array of key-value pairs to apply to this resource.
- upstreams List<String>
A list of upstream repositories associated with the repository.
Supporting Types
RepositoryTag
- 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
- https://github.com/pulumi/pulumi-aws-native
- License
- Apache-2.0