@cdk8s/awscdk-resolver 0.0.740 → 0.0.742

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +84 -13
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/enums.js +9 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +67 -12
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +3 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +1 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +40 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +23 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +4 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/enums.d.ts +17 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +366 -19
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +6 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/enums.d.ts +10 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +52 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  18. package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
  19. package/package.json +5 -5
@@ -25,6 +25,7 @@ declare const DescribeStackSetOperationCommand_base: {
25
25
  };
26
26
  /**
27
27
  * <p>Returns the description of the specified StackSet operation.</p>
28
+ * <p>Reports role provisioning and stack instances deployment progress in <code>StatusDetails.Stages</code>. A breakdown for each Amazon Web Services Region is available in <code>RegionalStatusDetails</code>.</p>
28
29
  * <note>
29
30
  * <p>This API provides <i>strongly consistent</i> reads meaning it will always
30
31
  * return the most up-to-date data.</p>
@@ -88,8 +89,47 @@ declare const DescribeStackSetOperationCommand_base: {
88
89
  * // },
89
90
  * // StatusReason: "STRING_VALUE",
90
91
  * // StatusDetails: { // StackSetOperationStatusDetails
92
+ * // Stages: { // Stages
93
+ * // RoleProvisioning: { // RoleProvisioning
94
+ * // Status: "PENDING" || "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "SUCCEEDED" || "PARTIAL_SUCCESS" || "FAILED",
95
+ * // SucceededAccountsCount: Number("int"),
96
+ * // FailedAccountsCount: Number("int"),
97
+ * // CompletedAccountsCount: Number("int"),
98
+ * // PendingAccountsCount: Number("int"),
99
+ * // PercentageCompleted: Number("double"),
100
+ * // },
101
+ * // StackInstancesDeployment: { // StackInstancesDeployment
102
+ * // Status: "PENDING" || "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "SUCCEEDED" || "PARTIAL_SUCCESS" || "FAILED",
103
+ * // SucceededStackInstancesCount: Number("int"),
104
+ * // FailedStackInstancesCount: Number("int"),
105
+ * // CompletedStackInstancesCount: Number("int"),
106
+ * // PendingStackInstancesCount: Number("int"),
107
+ * // CancelledStackInstancesCount: Number("int"),
108
+ * // SkippedStackInstancesCount: Number("int"),
109
+ * // PercentageCompleted: Number("double"),
110
+ * // },
111
+ * // },
112
+ * // TotalAccountsCount: Number("int"),
113
+ * // TotalStackInstancesCount: Number("int"),
91
114
  * // FailedStackInstancesCount: Number("int"),
92
115
  * // },
116
+ * // RegionalStatusDetails: { // RegionalStatusDetails
117
+ * // "<keys>": { // RegionalStatusDetail
118
+ * // Stages: { // RegionalStages
119
+ * // RegionalStackInstancesDeployment: { // RegionalStackInstancesDeployment
120
+ * // Status: "PENDING" || "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "SUCCEEDED" || "PARTIAL_SUCCESS" || "FAILED",
121
+ * // SucceededStackInstancesCount: Number("int"),
122
+ * // FailedStackInstancesCount: Number("int"),
123
+ * // CompletedStackInstancesCount: Number("int"),
124
+ * // PendingStackInstancesCount: Number("int"),
125
+ * // CancelledStackInstancesCount: Number("int"),
126
+ * // SkippedStackInstancesCount: Number("int"),
127
+ * // TotalStackInstancesCount: Number("int"),
128
+ * // PercentageCompleted: Number("double"),
129
+ * // },
130
+ * // },
131
+ * // },
132
+ * // },
93
133
  * // },
94
134
  * // };
95
135
  *
@@ -25,6 +25,7 @@ declare const ListStackSetOperationsCommand_base: {
25
25
  };
26
26
  /**
27
27
  * <p>Returns summary information about operations performed on a StackSet.</p>
28
+ * <p>Reports role provisioning and stack instances deployment progress in <code>StatusDetails.Stages</code>. The breakdown for each Amazon Web Services Region is available only from <a>DescribeStackSetOperation</a>.</p>
28
29
  * <note>
29
30
  * <p>This API provides <i>eventually consistent</i> reads meaning it may take
30
31
  * some time but will eventually return the most up-to-date data.</p>
@@ -55,6 +56,28 @@ declare const ListStackSetOperationsCommand_base: {
55
56
  * // EndTimestamp: new Date("TIMESTAMP"),
56
57
  * // StatusReason: "STRING_VALUE",
57
58
  * // StatusDetails: { // StackSetOperationStatusDetails
59
+ * // Stages: { // Stages
60
+ * // RoleProvisioning: { // RoleProvisioning
61
+ * // Status: "PENDING" || "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "SUCCEEDED" || "PARTIAL_SUCCESS" || "FAILED",
62
+ * // SucceededAccountsCount: Number("int"),
63
+ * // FailedAccountsCount: Number("int"),
64
+ * // CompletedAccountsCount: Number("int"),
65
+ * // PendingAccountsCount: Number("int"),
66
+ * // PercentageCompleted: Number("double"),
67
+ * // },
68
+ * // StackInstancesDeployment: { // StackInstancesDeployment
69
+ * // Status: "PENDING" || "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "SUCCEEDED" || "PARTIAL_SUCCESS" || "FAILED",
70
+ * // SucceededStackInstancesCount: Number("int"),
71
+ * // FailedStackInstancesCount: Number("int"),
72
+ * // CompletedStackInstancesCount: Number("int"),
73
+ * // PendingStackInstancesCount: Number("int"),
74
+ * // CancelledStackInstancesCount: Number("int"),
75
+ * // SkippedStackInstancesCount: Number("int"),
76
+ * // PercentageCompleted: Number("double"),
77
+ * // },
78
+ * // },
79
+ * // TotalAccountsCount: Number("int"),
80
+ * // TotalStackInstancesCount: Number("int"),
58
81
  * // FailedStackInstancesCount: Number("int"),
59
82
  * // },
60
83
  * // OperationPreferences: { // StackSetOperationPreferences
@@ -121,6 +121,10 @@ declare const UpdateStackSetCommand_base: {
121
121
  * ManagedExecution: { // ManagedExecution
122
122
  * Active: true || false,
123
123
  * },
124
+ * ExecutionRoleTemplateBody: "STRING_VALUE",
125
+ * ExecutionRoleTemplateUrl: "STRING_VALUE",
126
+ * UseAdminExecutionRole: true || false,
127
+ * StackSetOutputBucket: "STRING_VALUE",
124
128
  * };
125
129
  * const command = new UpdateStackSetCommand(input);
126
130
  * const response = await client.send(command);
@@ -937,6 +937,23 @@ export declare const StackSetOperationAction: {
937
937
  * @public
938
938
  */
939
939
  export type StackSetOperationAction = (typeof StackSetOperationAction)[keyof typeof StackSetOperationAction];
940
+ /**
941
+ * @public
942
+ * @enum
943
+ */
944
+ export declare const StageStatus: {
945
+ readonly FAILED: "FAILED";
946
+ readonly IN_PROGRESS: "IN_PROGRESS";
947
+ readonly NOT_APPLICABLE: "NOT_APPLICABLE";
948
+ readonly NOT_STARTED: "NOT_STARTED";
949
+ readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
950
+ readonly PENDING: "PENDING";
951
+ readonly SUCCEEDED: "SUCCEEDED";
952
+ };
953
+ /**
954
+ * @public
955
+ */
956
+ export type StageStatus = (typeof StageStatus)[keyof typeof StageStatus];
940
957
  /**
941
958
  * @public
942
959
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AccountFilterType, AccountGateStatus, AfterValueFrom, AnnotationSeverityLevel, AnnotationStatus, AttributeChangeType, BeaconStackOperationStatus, BeforeValueFrom, CallAs, Capability, Category, ChangeAction, ChangeSetHooksStatus, ChangeSetStatus, ChangeSetType, ChangeSource, ChangeType, ConcurrencyMode, DeletionMode, DeploymentConfigMode, DeploymentMode, DeprecatedStatus, DetailedStatus, DifferenceType, DriftIgnoredReason, EvaluationType, EventType, ExecutionStatus, GeneratedTemplateDeletionPolicy, GeneratedTemplateResourceStatus, GeneratedTemplateStatus, GeneratedTemplateUpdateReplacePolicy, HandlerErrorCode, HookFailureMode, HookInvocationPoint, HookStatus, HookTargetAction, HookTargetType, IdentityProvider, ListHookResultsTargetType, OnFailure, OnStackFailure, OperationResultFilterName, OperationStatus, OperationType, OrganizationStatus, PermissionModels, PolicyAction, ProvisioningType, PublisherStatus, RegionConcurrencyType, RegistrationStatus, RegistryType, Replacement, RequiresRecreation, ResourceAttribute, ResourceScanStatus, ResourceSignalStatus, ResourceStatus, ScanType, StackDriftDetectionStatus, StackDriftStatus, StackInstanceDetailedStatus, StackInstanceFilterName, StackInstanceStatus, StackRefactorActionEntity, StackRefactorActionType, StackRefactorDetection, StackRefactorExecutionStatus, StackRefactorStatus, StackResourceDriftStatus, StackSetDriftDetectionStatus, StackSetDriftStatus, StackSetOperationAction, StackSetOperationResultStatus, StackSetOperationStatus, StackSetStatus, StackStatus, TemplateFormat, TemplateStage, ThirdPartyType, TypeTestsStatus, ValidationStatus, VersionBump, Visibility, WarningType } from "./enums";
1
+ import type { AccountFilterType, AccountGateStatus, AfterValueFrom, AnnotationSeverityLevel, AnnotationStatus, AttributeChangeType, BeaconStackOperationStatus, BeforeValueFrom, CallAs, Capability, Category, ChangeAction, ChangeSetHooksStatus, ChangeSetStatus, ChangeSetType, ChangeSource, ChangeType, ConcurrencyMode, DeletionMode, DeploymentConfigMode, DeploymentMode, DeprecatedStatus, DetailedStatus, DifferenceType, DriftIgnoredReason, EvaluationType, EventType, ExecutionStatus, GeneratedTemplateDeletionPolicy, GeneratedTemplateResourceStatus, GeneratedTemplateStatus, GeneratedTemplateUpdateReplacePolicy, HandlerErrorCode, HookFailureMode, HookInvocationPoint, HookStatus, HookTargetAction, HookTargetType, IdentityProvider, ListHookResultsTargetType, OnFailure, OnStackFailure, OperationResultFilterName, OperationStatus, OperationType, OrganizationStatus, PermissionModels, PolicyAction, ProvisioningType, PublisherStatus, RegionConcurrencyType, RegistrationStatus, RegistryType, Replacement, RequiresRecreation, ResourceAttribute, ResourceScanStatus, ResourceSignalStatus, ResourceStatus, ScanType, StackDriftDetectionStatus, StackDriftStatus, StackInstanceDetailedStatus, StackInstanceFilterName, StackInstanceStatus, StackRefactorActionEntity, StackRefactorActionType, StackRefactorDetection, StackRefactorExecutionStatus, StackRefactorStatus, StackResourceDriftStatus, StackSetDriftDetectionStatus, StackSetDriftStatus, StackSetOperationAction, StackSetOperationResultStatus, StackSetOperationStatus, StackSetStatus, StackStatus, StageStatus, TemplateFormat, TemplateStage, ThirdPartyType, TypeTestsStatus, ValidationStatus, VersionBump, Visibility, WarningType } from "./enums";
2
2
  /**
3
3
  * <p>Structure that contains the results of the account gate function which CloudFormation invokes,
4
4
  * if present, before proceeding with a StackSet operation in an account and Region.</p>
@@ -2712,10 +2712,17 @@ export interface CreateStackSetInput {
2712
2712
  * acknowledge this capability. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Perform custom processing
2713
2713
  * on CloudFormation templates with template macros</a>.</p>
2714
2714
  * <important>
2715
- * <p>StackSets with service-managed permissions don't currently support the use of macros
2716
- * in templates. (This includes the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.) Even if
2717
- * you specify this capability for a StackSet with service-managed permissions, if you
2718
- * reference a macro in your template the StackSet operation will fail.</p>
2715
+ * <p>With service-managed permissions, CloudFormation can process macros, nested stacks, and
2716
+ * transforms in your StackSet template only when you provide a custom execution role
2717
+ * template. (Macros include the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.) The
2718
+ * default service-managed execution role can't provision them: if you reference a macro
2719
+ * in your template, the StackSet operation fails even when you specify this
2720
+ * capability.</p>
2721
+ * <p>To use macros, nested stacks, or transforms with service-managed permissions,
2722
+ * specify a custom execution role template in
2723
+ * <code>ExecutionRoleTemplateBody</code> or <code>ExecutionRoleTemplateUrl</code>, and
2724
+ * specify both <code>CAPABILITY_NAMED_IAM</code> and
2725
+ * <code>CAPABILITY_AUTO_EXPAND</code>.</p>
2719
2726
  * </important>
2720
2727
  * </li>
2721
2728
  * </ul>
@@ -2744,12 +2751,16 @@ export interface CreateStackSetInput {
2744
2751
  */
2745
2752
  AdministrationRoleARN?: string | undefined;
2746
2753
  /**
2747
- * <p>The name of the IAM execution role to use to create the StackSet. If you do not specify
2748
- * an execution role, CloudFormation uses the <code>AWSCloudFormationStackSetExecutionRole</code>
2749
- * role for the StackSet operation.</p>
2750
- * <p>Specify an IAM role only if you are using customized execution roles to control which
2751
- * stack resources users and groups can include in their StackSets.</p>
2752
- * <p>Valid only if the permissions model is <code>SELF_MANAGED</code>.</p>
2754
+ * <p>The name of the IAM execution role that CloudFormation uses for StackSet operations in your
2755
+ * target accounts.</p>
2756
+ * <p>[Self-managed permissions] If you do not specify an execution role, CloudFormation uses the
2757
+ * <code>AWSCloudFormationStackSetExecutionRole</code> role for the StackSet operation. Specify
2758
+ * an IAM role only if you are using customized execution roles to control which stack
2759
+ * resources users and groups can include in their StackSets.</p>
2760
+ * <p>[Service-managed permissions] Set this name when you use custom execution roles. The role
2761
+ * that your custom execution role template provisions in your target accounts must have this
2762
+ * same name, and the name must begin with
2763
+ * <code>stacksets-exec-custom-</code>.</p>
2753
2764
  * @public
2754
2765
  */
2755
2766
  ExecutionRoleName?: string | undefined;
@@ -2817,6 +2828,27 @@ export interface CreateStackSetInput {
2817
2828
  * @public
2818
2829
  */
2819
2830
  ManagedExecution?: ManagedExecution | undefined;
2831
+ /**
2832
+ * <p>The body of the template that creates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
2833
+ * <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
2834
+ * <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
2835
+ * uses the default service-managed execution role in target accounts.</p>
2836
+ * @public
2837
+ */
2838
+ ExecutionRoleTemplateBody?: string | undefined;
2839
+ /**
2840
+ * <p>The URL of an Amazon S3 object that contains the template that creates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
2841
+ * <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
2842
+ * <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
2843
+ * uses the default service-managed execution role in target accounts.</p>
2844
+ * @public
2845
+ */
2846
+ ExecutionRoleTemplateUrl?: string | undefined;
2847
+ /**
2848
+ * <p>The name of the Amazon S3 bucket that stores the execution role stack template body. CloudFormation uses this bucket only when you specify a custom execution role template.</p>
2849
+ * @public
2850
+ */
2851
+ StackSetOutputBucket?: string | undefined;
2820
2852
  }
2821
2853
  /**
2822
2854
  * @public
@@ -5867,6 +5899,11 @@ export interface StackSet {
5867
5899
  * @public
5868
5900
  */
5869
5901
  Regions?: string[] | undefined;
5902
+ /**
5903
+ * <p>The Amazon S3 bucket path where CloudFormation stores the execution role stack template body. CloudFormation uses this bucket only when you specify a custom execution role template.</p>
5904
+ * @public
5905
+ */
5906
+ StackSetOutputBucketPath?: string | undefined;
5870
5907
  }
5871
5908
  /**
5872
5909
  * @public
@@ -5914,11 +5951,275 @@ export interface DescribeStackSetOperationInput {
5914
5951
  */
5915
5952
  CallAs?: CallAs | undefined;
5916
5953
  }
5954
+ /**
5955
+ * <p>Provides visibility into the stack instances deployment stage for a single Region, including per-stack-instance progress counts and a completion percentage for that Region.</p>
5956
+ * @public
5957
+ */
5958
+ export interface RegionalStackInstancesDeployment {
5959
+ /**
5960
+ * <p>The status of the stack instances deployment stage can be one of the following values:</p>
5961
+ * <ul>
5962
+ * <li>
5963
+ * <p>
5964
+ * <code>NOT_APPLICABLE</code>: The operation does not deploy stack instances, such as a drift detection operation.</p>
5965
+ * </li>
5966
+ * <li>
5967
+ * <p>
5968
+ * <code>NOT_STARTED</code>: Stack instances deployment has not started. The operation is still provisioning roles, has not begun, or failed before this stage was reached.</p>
5969
+ * </li>
5970
+ * <li>
5971
+ * <p>
5972
+ * <code>IN_PROGRESS</code>: At least one stack instance has started deploying.</p>
5973
+ * </li>
5974
+ * <li>
5975
+ * <p>
5976
+ * <code>SUCCEEDED</code>: Deployment finished and succeeded for all stack instances that were not skipped.</p>
5977
+ * </li>
5978
+ * <li>
5979
+ * <p>
5980
+ * <code>PARTIAL_SUCCESS</code>: Deployment finished with a mix of succeeded, failed, and canceled stack instances.</p>
5981
+ * </li>
5982
+ * <li>
5983
+ * <p>
5984
+ * <code>FAILED</code>: Deployment finished and every stack instance that was not skipped failed or was canceled.</p>
5985
+ * </li>
5986
+ * </ul>
5987
+ * @public
5988
+ */
5989
+ Status?: StageStatus | undefined;
5990
+ /**
5991
+ * <p>The number of stack instances that deployed successfully in this Region.</p>
5992
+ * @public
5993
+ */
5994
+ SucceededStackInstancesCount?: number | undefined;
5995
+ /**
5996
+ * <p>The number of stack instances that failed to deploy in this Region.</p>
5997
+ * @public
5998
+ */
5999
+ FailedStackInstancesCount?: number | undefined;
6000
+ /**
6001
+ * <p>The number of stack instances in this Region that have reached a final state. This count includes stack instances that succeeded, failed, were skipped, or were canceled.</p>
6002
+ * @public
6003
+ */
6004
+ CompletedStackInstancesCount?: number | undefined;
6005
+ /**
6006
+ * <p>The number of stack instances in this Region that have not reached a final state. This is the total number of stack instances in this Region minus the completed count.</p>
6007
+ * @public
6008
+ */
6009
+ PendingStackInstancesCount?: number | undefined;
6010
+ /**
6011
+ * <p>The number of stack instances in this Region that were canceled because the operation exceeded its failure tolerance or was stopped.</p>
6012
+ * @public
6013
+ */
6014
+ CancelledStackInstancesCount?: number | undefined;
6015
+ /**
6016
+ * <p>The number of stack instances in this Region that were skipped because role provisioning failed for their target account.</p>
6017
+ * @public
6018
+ */
6019
+ SkippedStackInstancesCount?: number | undefined;
6020
+ /**
6021
+ * <p>The total number of stack instances targeted by this operation in this Region.</p>
6022
+ * @public
6023
+ */
6024
+ TotalStackInstancesCount?: number | undefined;
6025
+ /**
6026
+ * <p>The percentage of stack instances in this Region that have reached a final state.</p>
6027
+ * @public
6028
+ */
6029
+ PercentageCompleted?: number | undefined;
6030
+ }
6031
+ /**
6032
+ * <p>Contains the progress information for the individual stages of a StackSet operation in a single Region. Currently reports the stack instances deployment stage for the Region.</p>
6033
+ * @public
6034
+ */
6035
+ export interface RegionalStages {
6036
+ /**
6037
+ * <p>The progress detail for the stack instances deployment stage in this Region.</p>
6038
+ * @public
6039
+ */
6040
+ RegionalStackInstancesDeployment?: RegionalStackInstancesDeployment | undefined;
6041
+ }
6042
+ /**
6043
+ * <p>Contains the progress detail for a single Region of a StackSet operation. This information is returned only by <a>DescribeStackSetOperation</a>.</p>
6044
+ * @public
6045
+ */
6046
+ export interface RegionalStatusDetail {
6047
+ /**
6048
+ * <p>The progress information for the individual stages of the operation in this Region.</p>
6049
+ * @public
6050
+ */
6051
+ Stages?: RegionalStages | undefined;
6052
+ }
6053
+ /**
6054
+ * <p>Provides visibility into the role provisioning stage of a StackSet operation, including per-account progress counts and a completion percentage. For operations that do not provision IAM roles in target accounts, the <code>Status</code> is <code>NOT_APPLICABLE</code> and the progress counts are omitted.</p>
6055
+ * @public
6056
+ */
6057
+ export interface RoleProvisioning {
6058
+ /**
6059
+ * <p>The status of the role provisioning stage can be one of the following values:</p>
6060
+ * <ul>
6061
+ * <li>
6062
+ * <p>
6063
+ * <code>NOT_APPLICABLE</code>: The operation does not provision roles. This includes self-managed operations and service-managed operations whose configuration does not require role provisioning.</p>
6064
+ * </li>
6065
+ * <li>
6066
+ * <p>
6067
+ * <code>NOT_STARTED</code>: Role provisioning has not started. The operation has not begun resolving target accounts, or it failed or stopped before the total number of target accounts was resolved.</p>
6068
+ * </li>
6069
+ * <li>
6070
+ * <p>
6071
+ * <code>IN_PROGRESS</code>: Role provisioning is actively processing target accounts.</p>
6072
+ * </li>
6073
+ * <li>
6074
+ * <p>
6075
+ * <code>SUCCEEDED</code>: Role provisioning finished and succeeded for all target accounts.</p>
6076
+ * </li>
6077
+ * <li>
6078
+ * <p>
6079
+ * <code>PARTIAL_SUCCESS</code>: Role provisioning finished, but succeeded for only a subset of target accounts; one or more accounts failed.</p>
6080
+ * </li>
6081
+ * <li>
6082
+ * <p>
6083
+ * <code>FAILED</code>: Role provisioning finished and failed for all target accounts.</p>
6084
+ * </li>
6085
+ * </ul>
6086
+ * @public
6087
+ */
6088
+ Status?: StageStatus | undefined;
6089
+ /**
6090
+ * <p>The number of accounts for which role provisioning succeeded.</p>
6091
+ * @public
6092
+ */
6093
+ SucceededAccountsCount?: number | undefined;
6094
+ /**
6095
+ * <p>The number of accounts for which role provisioning failed.</p>
6096
+ * @public
6097
+ */
6098
+ FailedAccountsCount?: number | undefined;
6099
+ /**
6100
+ * <p>The number of accounts that have finished role provisioning, including both succeeded and failed accounts.</p>
6101
+ * @public
6102
+ */
6103
+ CompletedAccountsCount?: number | undefined;
6104
+ /**
6105
+ * <p>The number of accounts that are still awaiting role provisioning.</p>
6106
+ * @public
6107
+ */
6108
+ PendingAccountsCount?: number | undefined;
6109
+ /**
6110
+ * <p>The percentage of accounts that have completed role provisioning.</p>
6111
+ * @public
6112
+ */
6113
+ PercentageCompleted?: number | undefined;
6114
+ }
6115
+ /**
6116
+ * <p>Provides visibility into the stack instances deployment stage of a StackSet operation, including per-stack-instance progress counts and a completion percentage. For service-managed operations that provision roles, this stage begins after role provisioning finishes.</p>
6117
+ * @public
6118
+ */
6119
+ export interface StackInstancesDeployment {
6120
+ /**
6121
+ * <p>The status of the stack instances deployment stage can be one of the following values:</p>
6122
+ * <ul>
6123
+ * <li>
6124
+ * <p>
6125
+ * <code>NOT_APPLICABLE</code>: The operation does not deploy stack instances, such as a drift detection operation.</p>
6126
+ * </li>
6127
+ * <li>
6128
+ * <p>
6129
+ * <code>NOT_STARTED</code>: Stack instances deployment has not started. The operation is still provisioning roles, has not begun, or failed before this stage was reached.</p>
6130
+ * </li>
6131
+ * <li>
6132
+ * <p>
6133
+ * <code>IN_PROGRESS</code>: At least one stack instance has started deploying.</p>
6134
+ * </li>
6135
+ * <li>
6136
+ * <p>
6137
+ * <code>SUCCEEDED</code>: Deployment finished and succeeded for all stack instances that were not skipped.</p>
6138
+ * </li>
6139
+ * <li>
6140
+ * <p>
6141
+ * <code>PARTIAL_SUCCESS</code>: Deployment finished with a mix of succeeded, failed, and canceled stack instances.</p>
6142
+ * </li>
6143
+ * <li>
6144
+ * <p>
6145
+ * <code>FAILED</code>: Deployment finished and every stack instance that was not skipped failed or was canceled.</p>
6146
+ * </li>
6147
+ * </ul>
6148
+ * @public
6149
+ */
6150
+ Status?: StageStatus | undefined;
6151
+ /**
6152
+ * <p>The number of stack instances that deployed successfully.</p>
6153
+ * @public
6154
+ */
6155
+ SucceededStackInstancesCount?: number | undefined;
6156
+ /**
6157
+ * <p>The number of stack instances that failed to deploy.</p>
6158
+ * @public
6159
+ */
6160
+ FailedStackInstancesCount?: number | undefined;
6161
+ /**
6162
+ * <p>The number of stack instances that have reached a final state. This count includes stack instances that succeeded, failed, were skipped, or were canceled.</p>
6163
+ * @public
6164
+ */
6165
+ CompletedStackInstancesCount?: number | undefined;
6166
+ /**
6167
+ * <p>The number of stack instances that have not reached a final state. This is the total number of stack instances minus the completed count.</p>
6168
+ * @public
6169
+ */
6170
+ PendingStackInstancesCount?: number | undefined;
6171
+ /**
6172
+ * <p>The number of stack instances that were canceled because the operation exceeded its failure tolerance or was stopped.</p>
6173
+ * @public
6174
+ */
6175
+ CancelledStackInstancesCount?: number | undefined;
6176
+ /**
6177
+ * <p>The number of stack instances that were skipped because role provisioning failed for their target account.</p>
6178
+ * @public
6179
+ */
6180
+ SkippedStackInstancesCount?: number | undefined;
6181
+ /**
6182
+ * <p>The percentage of stack instances that have reached a final state.</p>
6183
+ * @public
6184
+ */
6185
+ PercentageCompleted?: number | undefined;
6186
+ }
6187
+ /**
6188
+ * <p>Contains detailed progress information for the individual stages of a StackSet operation: the role provisioning stage and the stack instances deployment stage.</p>
6189
+ * @public
6190
+ */
6191
+ export interface Stages {
6192
+ /**
6193
+ * <p>The progress detail for the role provisioning stage. For operations that do not provision roles, this stage is present with a <code>Status</code> of <code>NOT_APPLICABLE</code>.</p>
6194
+ * @public
6195
+ */
6196
+ RoleProvisioning?: RoleProvisioning | undefined;
6197
+ /**
6198
+ * <p>The progress detail for the stack instances deployment stage. This stage reports the deployment of stack instances to the target accounts and Amazon Web Services Regions, after any role provisioning has finished.</p>
6199
+ * @public
6200
+ */
6201
+ StackInstancesDeployment?: StackInstancesDeployment | undefined;
6202
+ }
5917
6203
  /**
5918
6204
  * <p>Detailed information about the StackSet operation.</p>
5919
6205
  * @public
5920
6206
  */
5921
6207
  export interface StackSetOperationStatusDetails {
6208
+ /**
6209
+ * <p>The detailed progress information for the individual stages of the StackSet operation: the role provisioning stage and the stack instances deployment stage.</p>
6210
+ * @public
6211
+ */
6212
+ Stages?: Stages | undefined;
6213
+ /**
6214
+ * <p>The total number of accounts targeted by this StackSet operation. Self-managed operations and service-managed operations that do not provision roles also report this value when it is known. CloudFormation populates this value after it resolves the target accounts. Until then, this field is not present.</p>
6215
+ * @public
6216
+ */
6217
+ TotalAccountsCount?: number | undefined;
6218
+ /**
6219
+ * <p>The total number of stack instances targeted by this StackSet operation. CloudFormation populates this value after it resolves the target stack instances. Until then, this field is not present.</p>
6220
+ * @public
6221
+ */
6222
+ TotalStackInstancesCount?: number | undefined;
5922
6223
  /**
5923
6224
  * <p>The number of stack instances for which the StackSet operation failed.</p>
5924
6225
  * @public
@@ -6057,6 +6358,11 @@ export interface StackSetOperation {
6057
6358
  * @public
6058
6359
  */
6059
6360
  StatusDetails?: StackSetOperationStatusDetails | undefined;
6361
+ /**
6362
+ * <p>The progress detail for each Region of the operation, keyed by Region. Each entry reports the stack instances deployment progress for that Region. This field is returned only by <a>DescribeStackSetOperation</a>. It is not included in the <a>ListStackSetOperations</a> summary.</p>
6363
+ * @public
6364
+ */
6365
+ RegionalStatusDetails?: Record<string, RegionalStatusDetail> | undefined;
6060
6366
  }
6061
6367
  /**
6062
6368
  * @public
@@ -11237,10 +11543,17 @@ export interface UpdateStackSetInput {
11237
11543
  * acknowledge this capability. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Perform custom processing
11238
11544
  * on CloudFormation templates with template macros</a>.</p>
11239
11545
  * <important>
11240
- * <p>StackSets with service-managed permissions do not currently support the use of
11241
- * macros in templates. (This includes the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.) Even if
11242
- * you specify this capability for a StackSet with service-managed permissions, if you
11243
- * reference a macro in your template the StackSet operation will fail.</p>
11546
+ * <p>With service-managed permissions, CloudFormation can process macros, nested stacks, and
11547
+ * transforms in your StackSet template only when you provide a custom execution role
11548
+ * template. (Macros include the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.) The
11549
+ * default service-managed execution role can't provision them: if you reference a macro
11550
+ * in your template, the StackSet operation fails even when you specify this
11551
+ * capability.</p>
11552
+ * <p>To use macros, nested stacks, or transforms with service-managed permissions,
11553
+ * specify a custom execution role template in
11554
+ * <code>ExecutionRoleTemplateBody</code> or <code>ExecutionRoleTemplateUrl</code>, and
11555
+ * specify both <code>CAPABILITY_NAMED_IAM</code> and
11556
+ * <code>CAPABILITY_AUTO_EXPAND</code>.</p>
11244
11557
  * </important>
11245
11558
  * </li>
11246
11559
  * </ul>
@@ -11299,15 +11612,22 @@ export interface UpdateStackSetInput {
11299
11612
  */
11300
11613
  AdministrationRoleARN?: string | undefined;
11301
11614
  /**
11302
- * <p>[Self-managed permissions] The name of the IAM execution role to use to update the stack
11615
+ * <p>The name of the IAM execution role that CloudFormation uses for StackSet operations in your
11616
+ * target accounts.</p>
11617
+ * <p>[Self-managed permissions] The name of the IAM execution role to use to update the stack
11303
11618
  * set. If you do not specify an execution role, CloudFormation uses the
11304
- * <code>AWSCloudFormationStackSetExecutionRole</code> role for the StackSet operation.</p>
11305
- * <p>Specify an IAM role only if you are using customized execution roles to control which
11306
- * stack resources users and groups can include in their StackSets.</p>
11619
+ * <code>AWSCloudFormationStackSetExecutionRole</code> role for the StackSet operation. Specify
11620
+ * an IAM role only if you are using customized execution roles to control which stack
11621
+ * resources users and groups can include in their StackSets.</p>
11307
11622
  * <p>If you specify a customized execution role, CloudFormation uses that role to update the stack.
11308
11623
  * If you do not specify a customized execution role, CloudFormation performs the update using the
11309
11624
  * role previously associated with the StackSet, so long as you have permissions to perform
11310
11625
  * operations on the StackSet.</p>
11626
+ * <p>[Service-managed permissions] Set this name when you use custom execution roles. The role
11627
+ * that your custom execution role template provisions in your target accounts must have this
11628
+ * same name, and the name must begin with
11629
+ * <code>stacksets-exec-custom-</code>. You don't need to specify this parameter if an
11630
+ * execution role name is already configured for the StackSet and you aren't changing it.</p>
11311
11631
  * @public
11312
11632
  */
11313
11633
  ExecutionRoleName?: string | undefined;
@@ -11425,6 +11745,33 @@ export interface UpdateStackSetInput {
11425
11745
  * @public
11426
11746
  */
11427
11747
  ManagedExecution?: ManagedExecution | undefined;
11748
+ /**
11749
+ * <p>The body of the template that creates or updates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
11750
+ * <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
11751
+ * <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
11752
+ * uses the default service-managed execution role in target accounts.</p>
11753
+ * @public
11754
+ */
11755
+ ExecutionRoleTemplateBody?: string | undefined;
11756
+ /**
11757
+ * <p>The URL of an Amazon S3 object that contains the template that creates or updates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
11758
+ * <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
11759
+ * <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
11760
+ * uses the default service-managed execution role in target accounts.</p>
11761
+ * @public
11762
+ */
11763
+ ExecutionRoleTemplateUrl?: string | undefined;
11764
+ /**
11765
+ * <p>Specifies whether CloudFormation uses the default service-managed execution role instead of a custom execution role in target accounts.
11766
+ * If you set this to <code>true</code>, CloudFormation ignores any custom execution role template specified in <code>ExecutionRoleTemplateBody</code> or <code>ExecutionRoleTemplateUrl</code>.</p>
11767
+ * @public
11768
+ */
11769
+ UseAdminExecutionRole?: boolean | undefined;
11770
+ /**
11771
+ * <p>The name of the Amazon S3 bucket that stores the execution role stack template body. CloudFormation uses this bucket only when you specify a custom execution role template.</p>
11772
+ * @public
11773
+ */
11774
+ StackSetOutputBucket?: string | undefined;
11428
11775
  }
11429
11776
  /**
11430
11777
  * @public
@@ -209,6 +209,9 @@ export declare var PublishTypeInput$: StaticStructureSchema;
209
209
  export declare var PublishTypeOutput$: StaticStructureSchema;
210
210
  export declare var RecordHandlerProgressInput$: StaticStructureSchema;
211
211
  export declare var RecordHandlerProgressOutput$: StaticStructureSchema;
212
+ export declare var RegionalStackInstancesDeployment$: StaticStructureSchema;
213
+ export declare var RegionalStages$: StaticStructureSchema;
214
+ export declare var RegionalStatusDetail$: StaticStructureSchema;
212
215
  export declare var RegisterPublisherInput$: StaticStructureSchema;
213
216
  export declare var RegisterPublisherOutput$: StaticStructureSchema;
214
217
  export declare var RegisterTypeInput$: StaticStructureSchema;
@@ -226,6 +229,7 @@ export declare var ResourceMapping$: StaticStructureSchema;
226
229
  export declare var ResourceScanSummary$: StaticStructureSchema;
227
230
  export declare var ResourceTargetDefinition$: StaticStructureSchema;
228
231
  export declare var ResourceToImport$: StaticStructureSchema;
232
+ export declare var RoleProvisioning$: StaticStructureSchema;
229
233
  export declare var RollbackConfiguration$: StaticStructureSchema;
230
234
  export declare var RollbackStackInput$: StaticStructureSchema;
231
235
  export declare var RollbackStackOutput$: StaticStructureSchema;
@@ -249,6 +253,7 @@ export declare var StackInstance$: StaticStructureSchema;
249
253
  export declare var StackInstanceComprehensiveStatus$: StaticStructureSchema;
250
254
  export declare var StackInstanceFilter$: StaticStructureSchema;
251
255
  export declare var StackInstanceResourceDriftsSummary$: StaticStructureSchema;
256
+ export declare var StackInstancesDeployment$: StaticStructureSchema;
252
257
  export declare var StackInstanceSummary$: StaticStructureSchema;
253
258
  export declare var StackRefactorAction$: StaticStructureSchema;
254
259
  export declare var StackRefactorSummary$: StaticStructureSchema;
@@ -268,6 +273,7 @@ export declare var StackSetOperationStatusDetails$: StaticStructureSchema;
268
273
  export declare var StackSetOperationSummary$: StaticStructureSchema;
269
274
  export declare var StackSetSummary$: StaticStructureSchema;
270
275
  export declare var StackSummary$: StaticStructureSchema;
276
+ export declare var Stages$: StaticStructureSchema;
271
277
  export declare var StartResourceScanInput$: StaticStructureSchema;
272
278
  export declare var StartResourceScanOutput$: StaticStructureSchema;
273
279
  export declare var StopStackSetOperationInput$: StaticStructureSchema;