Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

Add a tag when you create a CodeGuru Reviewer associated repository (AWS CLI)

フォーカスモード
Add a tag when you create a CodeGuru Reviewer associated repository (AWS CLI) - Amazon CodeGuru Reviewer
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

You can use the AWS CLI to add tags to an associated repository when you create it.

Note

Because you cannot use the AWS CLI to create a GitHub repository, you cannot use the AWS CLI to add tags to a GitHub repository when you create it. You can use the AWS CLI to add tags to an existing GitHub repository using tag-resource. You can also add tags when you create a GitHub repository association with the console.

To add a tag when you create a repository association
  1. Make sure that you have configured the AWS CLI with the AWS Region in which you want to create your code reviews. To verify the Region, run the following command at the command line or terminal and review the information for the default name.

    aws configure

    The default Region name must match the AWS Region for the repository in CodeCommit.

  2. Run the associate-repository command specifying the tags you want to add with the --tags parameter. Specify a tag's key and value using an equal symbol (for example, my-key=my-value). For more information about how to use associate-repository to create an association with your repository type, see one of the following:

    The following example adds 3 tags when you create an AWS CodeCommit repository association.

    aws codeguru-reviewer associate-repository --repository CodeCommit={Name=my-codecommit-repo} / --tags value-1=key-1,owner=admin,status=beta
  3. If successful, this command outputs a RepositoryAssociation object that includes an array with the 3 tags.

    { "RepositoryAssociation": { "AssociationId": "repository-association-uuid", "Name": "my-codecommit-repo", "LastUpdatedTimeStamp": 1595634764.029, "ProviderType": "CodeCommit", "CreatedTimeStamp": 1595634764.029, "Owner": "123456789012", "State": "Associating", "StateReason": "Pending Repository Association", "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:repository-association-uuid", }, "Tags": { "owner": "admin", "status": "beta", "value-1": "key-1", } }
プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.