We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
Resource Type definition for AWS::CodeCommit::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?: InvokeOutputOptions): Output<GetRepositoryResult>def get_repository(repository_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(repository_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:codecommit:getRepository
arguments:
# arguments dictionarydata "aws-native_codecommit_get_repository" "name" {
# arguments
}The following arguments are supported:
- Repository
Id string - The ID of the repository.
- Repository
Id string - The ID of the repository.
- repository_
id string - The ID of the repository.
- repository
Id String - The ID of the repository.
- repository
Id string - The ID of the repository.
- repository_
id str - The ID of the repository.
- repository
Id String - The ID of the repository.
getRepository Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the repository.
- Clone
Url stringHttp - The URL to use for cloning the repository over HTTPS.
- Clone
Url stringSsh - The URL to use for cloning the repository over SSH.
- Kms
Key stringId - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- Name string
- The repository's name.
- Repository
Description string - A comment or description about the new repository.
- Repository
Id string - The ID of the repository.
- Repository
Name string - The name of the new repository to be created.
-
List<Pulumi.
Aws Native. Outputs. Tag> - One or more tag key-value pairs to use when tagging this repository.
- Triggers
List<Pulumi.
Aws Native. Code Commit. Outputs. Repository Trigger> - Information about a trigger for a repository.
- Arn string
- The Amazon Resource Name (ARN) of the repository.
- Clone
Url stringHttp - The URL to use for cloning the repository over HTTPS.
- Clone
Url stringSsh - The URL to use for cloning the repository over SSH.
- Kms
Key stringId - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- Name string
- The repository's name.
- Repository
Description string - A comment or description about the new repository.
- Repository
Id string - The ID of the repository.
- Repository
Name string - The name of the new repository to be created.
- Tag
- One or more tag key-value pairs to use when tagging this repository.
- Triggers
[]Repository
Trigger - Information about a trigger for a repository.
- arn string
- The Amazon Resource Name (ARN) of the repository.
- clone_
url_ stringhttp - The URL to use for cloning the repository over HTTPS.
- clone_
url_ stringssh - The URL to use for cloning the repository over SSH.
- kms_
key_ stringid - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- name string
- The repository's name.
- repository_
description string - A comment or description about the new repository.
- repository_
id string - The ID of the repository.
- repository_
name string - The name of the new repository to be created.
- list(object)
- One or more tag key-value pairs to use when tagging this repository.
- triggers list(object)
- Information about a trigger for a repository.
- arn String
- The Amazon Resource Name (ARN) of the repository.
- clone
Url StringHttp - The URL to use for cloning the repository over HTTPS.
- clone
Url StringSsh - The URL to use for cloning the repository over SSH.
- kms
Key StringId - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- name String
- The repository's name.
- repository
Description String - A comment or description about the new repository.
- repository
Id String - The ID of the repository.
- repository
Name String - The name of the new repository to be created.
- List<Tag>
- One or more tag key-value pairs to use when tagging this repository.
- triggers
List<Repository
Trigger> - Information about a trigger for a repository.
- arn string
- The Amazon Resource Name (ARN) of the repository.
- clone
Url stringHttp - The URL to use for cloning the repository over HTTPS.
- clone
Url stringSsh - The URL to use for cloning the repository over SSH.
- kms
Key stringId - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- name string
- The repository's name.
- repository
Description string - A comment or description about the new repository.
- repository
Id string - The ID of the repository.
- repository
Name string - The name of the new repository to be created.
- Tag[]
- One or more tag key-value pairs to use when tagging this repository.
- triggers
Repository
Trigger[] - Information about a trigger for a repository.
- arn str
- The Amazon Resource Name (ARN) of the repository.
- clone_
url_ strhttp - The URL to use for cloning the repository over HTTPS.
- clone_
url_ strssh - The URL to use for cloning the repository over SSH.
- kms_
key_ strid - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- name str
- The repository's name.
- repository_
description str - A comment or description about the new repository.
- repository_
id str - The ID of the repository.
- repository_
name str - The name of the new repository to be created.
- Sequence[root_Tag]
- One or more tag key-value pairs to use when tagging this repository.
- triggers
Sequence[Repository
Trigger] - Information about a trigger for a repository.
- arn String
- The Amazon Resource Name (ARN) of the repository.
- clone
Url StringHttp - The URL to use for cloning the repository over HTTPS.
- clone
Url StringSsh - The URL to use for cloning the repository over SSH.
- kms
Key StringId - The ID of the AWS Key Management Service encryption key used to encrypt and decrypt the repository.
- name String
- The repository's name.
- repository
Description String - A comment or description about the new repository.
- repository
Id String - The ID of the repository.
- repository
Name String - The name of the new repository to be created.
- List<Property Map>
- One or more tag key-value pairs to use when tagging this repository.
- triggers List<Property Map>
- Information about a trigger for a repository.
Supporting Types
RepositoryTrigger
- Destination
Arn string - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- Events List<string>
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- Name string
- The name of the trigger.
- Branches List<string>
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- Custom
Data string - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
- Destination
Arn string - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- Events []string
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- Name string
- The name of the trigger.
- Branches []string
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- Custom
Data string - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
- destination_
arn string - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- events list(string)
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- name string
- The name of the trigger.
- branches list(string)
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- custom_
data string - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
- destination
Arn String - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- events List<String>
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- name String
- The name of the trigger.
- branches List<String>
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- custom
Data String - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
- destination
Arn string - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- events string[]
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- name string
- The name of the trigger.
- branches string[]
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- custom
Data string - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
- destination_
arn str - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- events Sequence[str]
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- name str
- The name of the trigger.
- branches Sequence[str]
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- custom_
data str - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
- destination
Arn String - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
- events List<String>
- The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
- name String
- The name of the trigger.
- branches List<String>
- The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
- custom
Data String - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
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.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi