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
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

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)


1026
1027
1028
1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 1026

class CreateRepositoryInput < Struct.new(
  :connection_arn,
  :encryption_key,
  :name,
  :provider,
  :tags)
  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)


1026
1027
1028
1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 1026

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

#nameString

The repository name (for example, myrepos/myrepo).

Returns:

  • (String)


1026
1027
1028
1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 1026

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

#providerString

The repository provider.

Returns:

  • (String)


1026
1027
1028
1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 1026

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

#tagsArray<Types::Tag>

An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

Returns:



1026
1027
1028
1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 1026

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