create_cloud_formation_change_set
async
¶
create_cloud_formation_change_set(
application_id: __string,
*,
config_overrides: Optional[AsyncServerlessApplicationRepositoryClientConfig] = None,
capabilities: Optional[__listOf__string] = None,
change_set_name: Optional[__string] = None,
client_token: Optional[__string] = None,
description: Optional[__string] = None,
notification_arns: Optional[__listOf__string] = None,
parameter_overrides: Optional[__listOfParameterValue] = None,
resource_types: Optional[__listOf__string] = None,
rollback_configuration: Optional[RollbackConfiguration] = None,
semantic_version: Optional[__string] = None,
stack_name: Optional[__string] = None,
tags: Optional[__listOfTag] = None,
template_id: Optional[__string] = None,
) -> CreateCloudFormationChangeSetResponse
Creates an AWS CloudFormation change set for the given application.
Parameters:
-
application_id(__string) –The Amazon Resource Name (ARN) of the application.
-
capabilities(Optional[__listOf__string], default:None) –A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
-
change_set_name(Optional[__string], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
client_token(Optional[__string], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
description(Optional[__string], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
notification_arns(Optional[__listOf__string], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
parameter_overrides(Optional[__listOfParameterValue], default:None) –A list of parameter values for the parameters of the application.
-
resource_types(Optional[__listOf__string], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
rollback_configuration(Optional[RollbackConfiguration], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
semantic_version(Optional[__string], default:None) –The semantic version of the application:
-
stack_name(Optional[__string], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
tags(Optional[__listOfTag], default:None) –This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
-
template_id(Optional[__string], default:None) –The UUID returned by CreateCloudFormationTemplate.
Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
Raises:
-
BadRequestException–One of the parameters in the request is invalid.
-
ForbiddenException–The client is not authenticated.
-
InternalServerErrorException–The AWS Serverless Application Repository service encountered an internal error.
-
TooManyRequestsException–The client is sending more than the allowed number of requests per unit of time.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_serverlessapplicationrepository/_services/async_serverless_application_repository.py
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 | |