/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// Nests a stack as a resource in a top-level template. Nested stacks are stacks created /// as resources for another stack. /// public partial class AwsCloudFormationStackDetails { private List _capabilities = new List(); private string _creationTime; private string _description; private bool? _disableRollback; private AwsCloudFormationStackDriftInformationDetails _driftInformation; private bool? _enableTerminationProtection; private string _lastUpdatedTime; private List _notificationArns = new List(); private List _outputs = new List(); private string _roleArn; private string _stackId; private string _stackName; private string _stackStatus; private string _stackStatusReason; private int? _timeoutInMinutes; /// /// Gets and sets the property Capabilities. /// /// The capabilities allowed in the stack. /// /// public List Capabilities { get { return this._capabilities; } set { this._capabilities = value; } } // Check to see if Capabilities property is set internal bool IsSetCapabilities() { return this._capabilities != null && this._capabilities.Count > 0; } /// /// Gets and sets the property CreationTime. /// /// The time at which the stack was created. /// /// public string CreationTime { get { return this._creationTime; } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime != null; } /// /// Gets and sets the property Description. /// /// A user-defined description associated with the stack. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property DisableRollback. /// /// Boolean to enable or disable rollback on stack creation failures. /// /// public bool DisableRollback { get { return this._disableRollback.GetValueOrDefault(); } set { this._disableRollback = value; } } // Check to see if DisableRollback property is set internal bool IsSetDisableRollback() { return this._disableRollback.HasValue; } /// /// Gets and sets the property DriftInformation. /// /// Information about whether a stack's actual configuration differs, or has drifted, /// from its expected configuration, as defined in the stack template and any values specified /// as template parameters. /// /// public AwsCloudFormationStackDriftInformationDetails DriftInformation { get { return this._driftInformation; } set { this._driftInformation = value; } } // Check to see if DriftInformation property is set internal bool IsSetDriftInformation() { return this._driftInformation != null; } /// /// Gets and sets the property EnableTerminationProtection. /// /// Whether termination protection is enabled for the stack. /// /// public bool EnableTerminationProtection { get { return this._enableTerminationProtection.GetValueOrDefault(); } set { this._enableTerminationProtection = value; } } // Check to see if EnableTerminationProtection property is set internal bool IsSetEnableTerminationProtection() { return this._enableTerminationProtection.HasValue; } /// /// Gets and sets the property LastUpdatedTime. /// /// The time the nested stack was last updated. This field will only be returned if the /// stack has been updated at least once. /// /// public string LastUpdatedTime { get { return this._lastUpdatedTime; } set { this._lastUpdatedTime = value; } } // Check to see if LastUpdatedTime property is set internal bool IsSetLastUpdatedTime() { return this._lastUpdatedTime != null; } /// /// Gets and sets the property NotificationArns. /// /// The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events /// are published. /// /// public List NotificationArns { get { return this._notificationArns; } set { this._notificationArns = value; } } // Check to see if NotificationArns property is set internal bool IsSetNotificationArns() { return this._notificationArns != null && this._notificationArns.Count > 0; } /// /// Gets and sets the property Outputs. /// /// A list of output structures. /// /// public List Outputs { get { return this._outputs; } set { this._outputs = value; } } // Check to see if Outputs property is set internal bool IsSetOutputs() { return this._outputs != null && this._outputs.Count > 0; } /// /// Gets and sets the property RoleArn. /// /// The ARN of an IAM role that's associated with the stack. /// /// public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property StackId. /// /// Unique identifier of the stack. /// /// public string StackId { get { return this._stackId; } set { this._stackId = value; } } // Check to see if StackId property is set internal bool IsSetStackId() { return this._stackId != null; } /// /// Gets and sets the property StackName. /// /// The name associated with the stack. /// /// public string StackName { get { return this._stackName; } set { this._stackName = value; } } // Check to see if StackName property is set internal bool IsSetStackName() { return this._stackName != null; } /// /// Gets and sets the property StackStatus. /// /// Current status of the stack. /// /// public string StackStatus { get { return this._stackStatus; } set { this._stackStatus = value; } } // Check to see if StackStatus property is set internal bool IsSetStackStatus() { return this._stackStatus != null; } /// /// Gets and sets the property StackStatusReason. /// /// Success or failure message associated with the stack status. /// /// public string StackStatusReason { get { return this._stackStatusReason; } set { this._stackStatusReason = value; } } // Check to see if StackStatusReason property is set internal bool IsSetStackStatusReason() { return this._stackStatusReason != null; } /// /// Gets and sets the property TimeoutInMinutes. /// /// The length of time, in minutes, that CloudFormation waits for the nested stack to /// reach the CREATE_COMPLETE state. /// /// public int TimeoutInMinutes { get { return this._timeoutInMinutes.GetValueOrDefault(); } set { this._timeoutInMinutes = value; } } // Check to see if TimeoutInMinutes property is set internal bool IsSetTimeoutInMinutes() { return this._timeoutInMinutes.HasValue; } } }