Class: Aws::CloudFormation::Types::PublishTypeInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

Note:

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

{
  type: "RESOURCE", # accepts RESOURCE, MODULE
  arn: "PrivateTypeArn",
  type_name: "TypeName",
  public_version_number: "PublicVersionNumber",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Number (ARN) of the extension.

Conditional: You must specify `Arn`, or `TypeName` and `Type`.

Returns:

  • (String)

5637
5638
5639
5640
5641
5642
5643
5644
# File 'lib/aws-sdk-cloudformation/types.rb', line 5637

class PublishTypeInput < Struct.new(
  :type,
  :arn,
  :type_name,
  :public_version_number)
  SENSITIVE = []
  include Aws::Structure
end

#public_version_numberString

The version number to assign to this version of the extension.

Use the following format, and adhere to semantic versioning when assigning a version number to your extension:

`MAJOR.MINOR.PATCH`

For more information, see [Semantic Versioning 2.0.0].

If you do not specify a version number, CloudFormation increments the version number by one minor version release.

The first time you publish a type, CloudFormation sets the version number to `1.0.0`, regardless of the value you specify.

[1]: semver.org/

Returns:

  • (String)

5637
5638
5639
5640
5641
5642
5643
5644
# File 'lib/aws-sdk-cloudformation/types.rb', line 5637

class PublishTypeInput < Struct.new(
  :type,
  :arn,
  :type_name,
  :public_version_number)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the extension.

Conditional: You must specify `Arn`, or `TypeName` and `Type`.

Returns:

  • (String)

5637
5638
5639
5640
5641
5642
5643
5644
# File 'lib/aws-sdk-cloudformation/types.rb', line 5637

class PublishTypeInput < Struct.new(
  :type,
  :arn,
  :type_name,
  :public_version_number)
  SENSITIVE = []
  include Aws::Structure
end

#type_nameString

The name of the extension.

Conditional: You must specify `Arn`, or `TypeName` and `Type`.

Returns:

  • (String)

5637
5638
5639
5640
5641
5642
5643
5644
# File 'lib/aws-sdk-cloudformation/types.rb', line 5637

class PublishTypeInput < Struct.new(
  :type,
  :arn,
  :type_name,
  :public_version_number)
  SENSITIVE = []
  include Aws::Structure
end