選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

DescribeStackSetOperation - AWS CloudFormation
此頁面尚未翻譯為您的語言。 請求翻譯

DescribeStackSetOperation

Returns the description of the specified StackSet operation.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

CallAs

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your AWS account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the AWS CloudFormation User Guide.

Type: String

Valid Values: SELF | DELEGATED_ADMIN

Required: No

OperationId

The unique ID of the stack set operation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9][-a-zA-Z0-9]*

Required: Yes

StackSetName

The name or the unique stack ID of the stack set for the stack operation.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

StackSetOperation

The specified stack set operation.

Type: StackSetOperation object

Errors

For information about the errors that are common to all actions, see Common Errors.

OperationNotFound

The specified ID refers to an operation that doesn't exist.

HTTP Status Code: 404

StackSetNotFound

The specified stack set doesn't exist.

HTTP Status Code: 404

Examples

Describing an Update Stack Set Operation

The following example returns information about a successful update of a stack set and its associated stack instances.

Sample Request

https://cloudformation.us-east-1.amazonaws.com/ ?Action=DescribeStackSetOperation &Version=2010-05-15 &StackSetName=stack-set-example &OperationId=61806005-bde9-46f1-949d-6791example &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=[Access key ID and scope] &X-Amz-Date=20170810T233349Z &X-Amz-SignedHeaders=content-type;host &X-Amz-Signature=[Signature]

Sample Response

<DescribeStackSetOperationResponse xmlns="http://internal.amazon.com/coral/com.amazonaws.maestro.service.v20160713/"> <DescribeStackSetOperationResult> <StackSetOperation> <StackSetId>stack-set-example:c14cd6d1-cd17-40bd-82ed-ff97example</StackSetId> <CreationTimestamp>2017-08-04T18:01:29.508Z</CreationTimestamp> <OperationId>ddf16f54-ad62-4d9b-b0ab-3ed8e9example</OperationId> <Action>UPDATE</Action> <OperationPreferences> <FailureToleranceCount>0</FailureToleranceCount> <MaxConcurrentCount>1</MaxConcurrentCount> <RegionOrder/> </OperationPreferences> <EndTimestamp>2017-08-04T18:03:43.672Z</EndTimestamp> <Status>SUCCEEDED</Status> </StackSetOperation> </DescribeStackSetOperationResult> <ResponseMetadata> <RequestId>20133b62-7e1a-11e7-838a-a182example</RequestId> </ResponseMetadata> </DescribeStackSetOperationResponse>

Describing a Drift Detection Stack Set Operation

The following example returns information about a drift detection operation run on a stack set.

Sample Request

https://cloudformation.us-east-1.amazonaws.com/ ?Action=DescribeStackSetOperation &Version=2010-05-15 &StackSetName=stack-set-drift-example &OperationId=9cc082fa-df4c-45cd-b9a8-7e5example &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=[Access key ID and scope] &X-Amz-Date=20191203T201942Z &X-Amz-SignedHeaders=content-type;host &X-Amz-Signature=[Signature]

Sample Response

<DescribeStackSetOperationResponse xmlns="http://internal.amazon.com/coral/com.amazonaws.maestro.service.v20160713/"> <DescribeStackSetOperationResult> <StackSetOperation> <ExecutionRoleName>AWSCloudFormationStackSetExecutionRole</ExecutionRoleName> <AdministrationRoleARN>arn:aws:iam::012345678910:role/AWSCloudFormationStackSetAdministrationRole</AdministrationRoleARN> <StackSetId>stack-set-drift-example:bd1f4017-d4f9-432e-a73f-8c22eb708dd5</StackSetId> <OperationPreferences> <RegionOrder/> </OperationPreferences> <StackSetDriftDetectionDetails> <InSyncStackInstancesCount>2</InSyncStackInstancesCount> <FailedStackInstancesCount>0</FailedStackInstancesCount> <DriftStatus>DRIFTED</DriftStatus> <TotalStackInstancesCount>7</TotalStackInstancesCount> <DriftedStackInstancesCount>1</DriftedStackInstancesCount> <InProgressStackInstancesCount>4</InProgressStackInstancesCount> <LastDriftCheckTimestamp>2019-12-04T20:34:28.543Z</LastDriftCheckTimestamp> </StackSetDriftDetectionDetails> <CreationTimestamp>2019-12-04T20:33:13.673Z</CreationTimestamp> <OperationId>9cc082fa-df4c-45cd-b9a8-7e5example</OperationId> <Action>DETECT_DRIFT</Action> <Status>RUNNING</Status> </StackSetOperation> </DescribeStackSetOperationResult> <ResponseMetadata> <RequestId>e81844dc-6121-4b59-923a-e2417example</RequestId> </ResponseMetadata> </DescribeStackSetOperationResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

下一個主題:

DescribeType

上一個主題:

DescribeStackSet
隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。