amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.Types.StackSetOperation

Description

 
Synopsis

Documentation

data StackSetOperation Source #

The structure that contains information about a stack set operation.

See: newStackSetOperation smart constructor.

Constructors

StackSetOperation' 

Fields

  • action :: Maybe StackSetOperationAction

    The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, in addition to all associated stack set instances.

  • administrationRoleARN :: Maybe Text

    The Amazon Resource Name (ARN) of the IAM role used to perform this stack set operation.

    Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Define Permissions for Multiple Administrators in the CloudFormation User Guide.

  • creationTimestamp :: Maybe ISO8601

    The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.

  • deploymentTargets :: Maybe DeploymentTargets
    Service-managed permissions
    The Organizations accounts affected by the stack operation.
  • endTimestamp :: Maybe ISO8601

    The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.

  • executionRoleName :: Maybe Text

    The name of the IAM execution role used to create or update the stack set.

    Use customized execution roles to control which stack resources users and groups can include in their stack sets.

  • operationId :: Maybe Text

    The unique ID of a stack set operation.

  • operationPreferences :: Maybe StackSetOperationPreferences

    The preferences for how CloudFormation performs this stack set operation.

  • retainStacks :: Maybe Bool

    For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't re-associate a retained stack, or add an existing, saved stack to a new stack set.

  • stackSetDriftDetectionDetails :: Maybe StackSetDriftDetectionDetails

    Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

    This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

    For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

  • stackSetId :: Maybe Text

    The ID of the stack set.

  • status :: Maybe StackSetOperationStatus

    The status of the operation.

    • FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions.
    • QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide.
    • RUNNING: The operation is currently being performed.
    • STOPPED: The user has canceled the operation.
    • STOPPING: The operation is in the process of stopping, at user request.
    • SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.
  • statusDetails :: Maybe StackSetOperationStatusDetails

    Detailed information about the StackSet operation.

  • statusReason :: Maybe Text

    The status of the operation in details.

Instances

Instances details
FromXML StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

Generic StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

Associated Types

type Rep StackSetOperation :: Type -> Type #

Read StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

Show StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

NFData StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

Methods

rnf :: StackSetOperation -> () #

Eq StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

Hashable StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

type Rep StackSetOperation Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.StackSetOperation

type Rep StackSetOperation = D1 ('MetaData "StackSetOperation" "Amazonka.CloudFormation.Types.StackSetOperation" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "StackSetOperation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetOperationAction)) :*: (S1 ('MetaSel ('Just "administrationRoleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: ((S1 ('MetaSel ('Just "deploymentTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentTargets)) :*: S1 ('MetaSel ('Just "endTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "executionRoleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "operationPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetOperationPreferences)) :*: (S1 ('MetaSel ('Just "retainStacks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "stackSetDriftDetectionDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetDriftDetectionDetails)))) :*: ((S1 ('MetaSel ('Just "stackSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetOperationStatus))) :*: (S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetOperationStatusDetails)) :*: S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newStackSetOperation :: StackSetOperation Source #

Create a value of StackSetOperation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:action:StackSetOperation', stackSetOperation_action - The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, in addition to all associated stack set instances.

$sel:administrationRoleARN:StackSetOperation', stackSetOperation_administrationRoleARN - The Amazon Resource Name (ARN) of the IAM role used to perform this stack set operation.

Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Define Permissions for Multiple Administrators in the CloudFormation User Guide.

$sel:creationTimestamp:StackSetOperation', stackSetOperation_creationTimestamp - The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.

$sel:deploymentTargets:StackSetOperation', stackSetOperation_deploymentTargets - [Service-managed permissions] The Organizations accounts affected by the stack operation.

$sel:endTimestamp:StackSetOperation', stackSetOperation_endTimestamp - The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.

$sel:executionRoleName:StackSetOperation', stackSetOperation_executionRoleName - The name of the IAM execution role used to create or update the stack set.

Use customized execution roles to control which stack resources users and groups can include in their stack sets.

$sel:operationId:StackSetOperation', stackSetOperation_operationId - The unique ID of a stack set operation.

$sel:operationPreferences:StackSetOperation', stackSetOperation_operationPreferences - The preferences for how CloudFormation performs this stack set operation.

$sel:retainStacks:StackSetOperation', stackSetOperation_retainStacks - For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't re-associate a retained stack, or add an existing, saved stack to a new stack set.

$sel:stackSetDriftDetectionDetails:StackSetOperation', stackSetOperation_stackSetDriftDetectionDetails - Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

$sel:stackSetId:StackSetOperation', stackSetOperation_stackSetId - The ID of the stack set.

$sel:status:StackSetOperation', stackSetOperation_status - The status of the operation.

  • FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions.
  • QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide.
  • RUNNING: The operation is currently being performed.
  • STOPPED: The user has canceled the operation.
  • STOPPING: The operation is in the process of stopping, at user request.
  • SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.

$sel:statusDetails:StackSetOperation', stackSetOperation_statusDetails - Detailed information about the StackSet operation.

$sel:statusReason:StackSetOperation', stackSetOperation_statusReason - The status of the operation in details.

stackSetOperation_action :: Lens' StackSetOperation (Maybe StackSetOperationAction) Source #

The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, in addition to all associated stack set instances.

stackSetOperation_administrationRoleARN :: Lens' StackSetOperation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role used to perform this stack set operation.

Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Define Permissions for Multiple Administrators in the CloudFormation User Guide.

stackSetOperation_creationTimestamp :: Lens' StackSetOperation (Maybe UTCTime) Source #

The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.

stackSetOperation_deploymentTargets :: Lens' StackSetOperation (Maybe DeploymentTargets) Source #

Service-managed permissions
The Organizations accounts affected by the stack operation.

stackSetOperation_endTimestamp :: Lens' StackSetOperation (Maybe UTCTime) Source #

The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.

stackSetOperation_executionRoleName :: Lens' StackSetOperation (Maybe Text) Source #

The name of the IAM execution role used to create or update the stack set.

Use customized execution roles to control which stack resources users and groups can include in their stack sets.

stackSetOperation_operationId :: Lens' StackSetOperation (Maybe Text) Source #

The unique ID of a stack set operation.

stackSetOperation_operationPreferences :: Lens' StackSetOperation (Maybe StackSetOperationPreferences) Source #

The preferences for how CloudFormation performs this stack set operation.

stackSetOperation_retainStacks :: Lens' StackSetOperation (Maybe Bool) Source #

For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't re-associate a retained stack, or add an existing, saved stack to a new stack set.

stackSetOperation_stackSetDriftDetectionDetails :: Lens' StackSetOperation (Maybe StackSetDriftDetectionDetails) Source #

Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

This information will only be present for stack set operations whose Action type is DETECT_DRIFT.

For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

stackSetOperation_status :: Lens' StackSetOperation (Maybe StackSetOperationStatus) Source #

The status of the operation.

  • FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions.
  • QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide.
  • RUNNING: The operation is currently being performed.
  • STOPPED: The user has canceled the operation.
  • STOPPING: The operation is in the process of stopping, at user request.
  • SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.

stackSetOperation_statusReason :: Lens' StackSetOperation (Maybe Text) Source #

The status of the operation in details.