Struct aws_sdk_cloudformation::client::fluent_builders::DetectStackSetDrift [−][src]
pub struct DetectStackSetDrift<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DetectStackSetDrift
.
Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs drift detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation Performs Drift Detection on a Stack Set.
DetectStackSetDrift
returns the OperationId
of the stack set
drift detection operation. Use this operation id with
DescribeStackSetOperation
to monitor the progress of the drift
detection operation. The drift detection operation may take some time, depending on the
number of stack instances included in the stack set, as well as the number of resources
included in each stack.
Once the operation has completed, use the following actions to return drift information:
-
Use
DescribeStackSet
to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the stack set. (Information about drift operations that are in progress is not included.) -
Use
ListStackInstances
to return a list of stack instances belonging to the stack set, including the drift status and last drift time checked of each instance. -
Use
DescribeStackInstance
to return detailed information about a specific stack instance, including its drift status and last drift time checked.
For more information on performing a drift detection operation on a stack set, see Detecting Unmanaged Changes in Stack Sets.
You can only run a single drift detection operation on a given stack set at one time.
To stop a drift detection stack set operation, use
StopStackSetOperation
.
Implementations
impl<C, M, R> DetectStackSetDrift<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DetectStackSetDrift<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DetectStackSetDriftOutput, SdkError<DetectStackSetDriftError>> where
R::Policy: SmithyRetryPolicy<DetectStackSetDriftInputOperationOutputAlias, DetectStackSetDriftOutput, DetectStackSetDriftError, DetectStackSetDriftInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DetectStackSetDriftOutput, SdkError<DetectStackSetDriftError>> where
R::Policy: SmithyRetryPolicy<DetectStackSetDriftInputOperationOutputAlias, DetectStackSetDriftOutput, DetectStackSetDriftError, DetectStackSetDriftInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the stack set on which to perform the drift detection operation.
The name of the stack set on which to perform the drift detection operation.
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.
The ID of the stack set operation.
The ID of the stack set operation.
[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 Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
[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 Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DetectStackSetDrift<C, M, R>
impl<C, M, R> Send for DetectStackSetDrift<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DetectStackSetDrift<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DetectStackSetDrift<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DetectStackSetDrift<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more