NAME
Paws::CloudFormation::ActivateType - Arguments for method ActivateType on Paws::CloudFormation
DESCRIPTION
This class represents the parameters used for calling the method ActivateType on the AWS CloudFormation service. Use the attributes of this class as arguments to method ActivateType.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ActivateType.
SYNOPSIS
my $cloudformation = Paws->service('CloudFormation');
my $ActivateTypeOutput = $cloudformation->ActivateType(
AutoUpdate => 1, # OPTIONAL
ExecutionRoleArn => 'MyRoleArn', # OPTIONAL
LoggingConfig => {
LogGroupName => 'MyLogGroupName', # min: 1, max: 512
LogRoleArn => 'MyRoleArn', # min: 1, max: 256
}, # OPTIONAL
MajorVersion => 1, # OPTIONAL
PublicTypeArn => 'MyThirdPartyTypeArn', # OPTIONAL
PublisherId => 'MyPublisherId', # OPTIONAL
Type => 'RESOURCE', # OPTIONAL
TypeName => 'MyTypeName', # OPTIONAL
TypeNameAlias => 'MyTypeName', # OPTIONAL
VersionBump => 'MAJOR', # OPTIONAL
);
# Results:
my $Arn = $ActivateTypeOutput->Arn;
# Returns a L<Paws::CloudFormation::ActivateTypeOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloudformation/ActivateType
ATTRIBUTES
AutoUpdate => Bool
Whether to automatically update the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
ExecutionRoleArn => Str
The name of the IAM execution role to use to activate the extension.
LoggingConfig => Paws::CloudFormation::LoggingConfig
MajorVersion => Int
The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
PublicTypeArn => Str
The Amazon Resource Number (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
PublisherId => Str
The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
Type => Str
The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
Valid values are: "RESOURCE"
, "MODULE"
TypeName => Str
The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
TypeNameAlias => Str
An alias to assign to the public extension, in this account and region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
An extension alias must be unique within a given account and region. You can activate the same public resource multiple times in the same account and region, using different type name aliases.
VersionBump => Str
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
Valid values are: "MAJOR"
, "MINOR"
SEE ALSO
This class forms part of Paws, documenting arguments for method ActivateType in Paws::CloudFormation
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues