Class: Aws::Proton::Types::CreateRepositoryInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb

Overview

Note:

When making an API call, you may pass CreateRepositoryInput data as a hash:

{
  connection_arn: "Arn", # required
  encryption_key: "Arn",
  name: "RepositoryName", # required
  provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connection_arnString

The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see Setting up for Proton in the Proton Administrator Guide.

Returns:

  • (String)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 658

class CreateRepositoryInput < Struct.new(
  :connection_arn,
  :encryption_key,
  :name,
  :provider)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_keyString

The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.

Returns:

  • (String)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 658

class CreateRepositoryInput < Struct.new(
  :connection_arn,
  :encryption_key,
  :name,
  :provider)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The repository name, for example myrepos/myrepo.

Returns:

  • (String)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 658

class CreateRepositoryInput < Struct.new(
  :connection_arn,
  :encryption_key,
  :name,
  :provider)
  SENSITIVE = []
  include Aws::Structure
end

#providerString

The repository provider.

Returns:

  • (String)


658
659
660
661
662
663
664
665
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 658

class CreateRepositoryInput < Struct.new(
  :connection_arn,
  :encryption_key,
  :name,
  :provider)
  SENSITIVE = []
  include Aws::Structure
end