repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the BatchDescribeTypeConfigurations operation.
/// Returns configuration data for the specified CloudFormation extensions, from the CloudFormation
/// registry for the account and Region.
///
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-register.html#registry-set-configuration">Configuring
/// extensions at the account level</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </summary>
public partial class BatchDescribeTypeConfigurationsRequest : AmazonCloudFormationRequest
{
private List<TypeConfigurationIdentifier> _typeConfigurationIdentifiers = new List<TypeConfigurationIdentifier>();
/// <summary>
/// Gets and sets the property TypeConfigurationIdentifiers.
/// <para>
/// The list of identifiers for the desired extension configurations.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public List<TypeConfigurationIdentifier> TypeConfigurationIdentifiers
{
get { return this._typeConfigurationIdentifiers; }
set { this._typeConfigurationIdentifiers = value; }
}
// Check to see if TypeConfigurationIdentifiers property is set
internal bool IsSetTypeConfigurationIdentifiers()
{
return this._typeConfigurationIdentifiers != null && this._typeConfigurationIdentifiers.Count > 0;
}
}
}
| 66 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the BatchDescribeTypeConfigurations operation.
/// </summary>
public partial class BatchDescribeTypeConfigurationsResponse : AmazonWebServiceResponse
{
private List<BatchDescribeTypeConfigurationsError> _errors = new List<BatchDescribeTypeConfigurationsError>();
private List<TypeConfigurationDetails> _typeConfigurations = new List<TypeConfigurationDetails>();
private List<TypeConfigurationIdentifier> _unprocessedTypeConfigurations = new List<TypeConfigurationIdentifier>();
/// <summary>
/// Gets and sets the property Errors.
/// <para>
/// A list of information concerning any errors generated during the setting of the specified
/// configurations.
/// </para>
/// </summary>
public List<BatchDescribeTypeConfigurationsError> Errors
{
get { return this._errors; }
set { this._errors = value; }
}
// Check to see if Errors property is set
internal bool IsSetErrors()
{
return this._errors != null && this._errors.Count > 0;
}
/// <summary>
/// Gets and sets the property TypeConfigurations.
/// <para>
/// A list of any of the specified extension configurations from the CloudFormation registry.
/// </para>
/// </summary>
public List<TypeConfigurationDetails> TypeConfigurations
{
get { return this._typeConfigurations; }
set { this._typeConfigurations = value; }
}
// Check to see if TypeConfigurations property is set
internal bool IsSetTypeConfigurations()
{
return this._typeConfigurations != null && this._typeConfigurations.Count > 0;
}
/// <summary>
/// Gets and sets the property UnprocessedTypeConfigurations.
/// <para>
/// A list of any of the specified extension configurations that CloudFormation could
/// not process for any reason.
/// </para>
/// </summary>
public List<TypeConfigurationIdentifier> UnprocessedTypeConfigurations
{
get { return this._unprocessedTypeConfigurations; }
set { this._unprocessedTypeConfigurations = value; }
}
// Check to see if UnprocessedTypeConfigurations property is set
internal bool IsSetUnprocessedTypeConfigurations()
{
return this._unprocessedTypeConfigurations != null && this._unprocessedTypeConfigurations.Count > 0;
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the CancelUpdateStack operation.
/// Cancels an update on the specified stack. If the call completes successfully, the
/// stack rolls back the update and reverts to the previous stack configuration.
///
/// <note>
/// <para>
/// You can cancel only stacks that are in the <code>UPDATE_IN_PROGRESS</code> state.
/// </para>
/// </note>
/// </summary>
public partial class CancelUpdateStackRequest : AmazonCloudFormationRequest
{
private string _clientRequestToken;
private string _stackName;
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// A unique identifier for this <code>CancelUpdateStack</code> request. Specify this
/// token if you plan to retry requests so that CloudFormation knows that you're not attempting
/// to cancel an update on a stack with the same name. You might retry <code>CancelUpdateStack</code>
/// requests to ensure that CloudFormation successfully received them.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property StackName. <note>
/// <para>
/// If you don't pass a parameter to <code>StackName</code>, the API returns a response
/// that describes all resources in the account.
/// </para>
///
/// <para>
/// The IAM policy below can be added to IAM policies when you want to limit resource-level
/// permissions and avoid returning a response when no parameter is sent in the request:
/// </para>
///
/// <para>
/// <code>{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks",
/// "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }</code>
/// </para>
/// </note>
/// <para>
/// The name or the unique stack ID that's associated with the stack.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the CancelUpdateStack operation.
/// </summary>
public partial class CancelUpdateStackResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// An error occurred during a CloudFormation registry operation.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class CFNRegistryException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new CFNRegistryException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public CFNRegistryException(string message)
: base(message) {}
/// <summary>
/// Construct instance of CFNRegistryException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public CFNRegistryException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of CFNRegistryException
/// </summary>
/// <param name="innerException"></param>
public CFNRegistryException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of CFNRegistryException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CFNRegistryException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of CFNRegistryException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CFNRegistryException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the CFNRegistryException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected CFNRegistryException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The <code>Change</code> structure describes the changes CloudFormation will perform
/// if you execute the change set.
/// </summary>
public partial class Change
{
private int? _hookInvocationCount;
private ResourceChange _resourceChange;
private ChangeType _type;
/// <summary>
/// Gets and sets the property HookInvocationCount.
/// <para>
/// Is either <code>null</code>, if no hooks invoke for the resource, or contains the
/// number of hooks that will invoke for the resource.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int HookInvocationCount
{
get { return this._hookInvocationCount.GetValueOrDefault(); }
set { this._hookInvocationCount = value; }
}
// Check to see if HookInvocationCount property is set
internal bool IsSetHookInvocationCount()
{
return this._hookInvocationCount.HasValue;
}
/// <summary>
/// Gets and sets the property ResourceChange.
/// <para>
/// A <code>ResourceChange</code> structure that describes the resource and action that
/// CloudFormation will perform.
/// </para>
/// </summary>
public ResourceChange ResourceChange
{
get { return this._resourceChange; }
set { this._resourceChange = value; }
}
// Check to see if ResourceChange property is set
internal bool IsSetResourceChange()
{
return this._resourceChange != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of entity that CloudFormation changes. Currently, the only entity type is
/// <code>Resource</code>.
/// </para>
/// </summary>
public ChangeType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Specifies the resource, the hook, and the hook version to be invoked.
/// </summary>
public partial class ChangeSetHook
{
private HookFailureMode _failureMode;
private HookInvocationPoint _invocationPoint;
private ChangeSetHookTargetDetails _targetDetails;
private string _typeConfigurationVersionId;
private string _typeName;
private string _typeVersionId;
/// <summary>
/// Gets and sets the property FailureMode.
/// <para>
/// Specify the hook failure mode for non-compliant resources in the followings ways.
/// </para>
/// <ul> <li>
/// <para>
/// <code>FAIL</code> Stops provisioning resources.
/// </para>
/// </li> <li>
/// <para>
/// <code>WARN</code> Allows provisioning to continue with a warning message.
/// </para>
/// </li> </ul>
/// </summary>
public HookFailureMode FailureMode
{
get { return this._failureMode; }
set { this._failureMode = value; }
}
// Check to see if FailureMode property is set
internal bool IsSetFailureMode()
{
return this._failureMode != null;
}
/// <summary>
/// Gets and sets the property InvocationPoint.
/// <para>
/// Specifies the points in provisioning logic where a hook is invoked.
/// </para>
/// </summary>
public HookInvocationPoint InvocationPoint
{
get { return this._invocationPoint; }
set { this._invocationPoint = value; }
}
// Check to see if InvocationPoint property is set
internal bool IsSetInvocationPoint()
{
return this._invocationPoint != null;
}
/// <summary>
/// Gets and sets the property TargetDetails.
/// <para>
/// Specifies details about the target that the hook will run against.
/// </para>
/// </summary>
public ChangeSetHookTargetDetails TargetDetails
{
get { return this._targetDetails; }
set { this._targetDetails = value; }
}
// Check to see if TargetDetails property is set
internal bool IsSetTargetDetails()
{
return this._targetDetails != null;
}
/// <summary>
/// Gets and sets the property TypeConfigurationVersionId.
/// <para>
/// The version ID of the type configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string TypeConfigurationVersionId
{
get { return this._typeConfigurationVersionId; }
set { this._typeConfigurationVersionId = value; }
}
// Check to see if TypeConfigurationVersionId property is set
internal bool IsSetTypeConfigurationVersionId()
{
return this._typeConfigurationVersionId != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The unique name for your hook. Specifies a three-part namespace for your hook, with
/// a recommended pattern of <code>Organization::Service::Hook</code>.
/// </para>
/// <note>
/// <para>
/// The following organization namespaces are reserved and can't be used in your hook
/// type names:
/// </para>
/// <ul> <li>
/// <para>
/// <code>Alexa</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>AMZN</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>Amazon</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>ASK</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>AWS</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>Custom</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>Dev</code>
/// </para>
/// </li> </ul> </note>
/// </summary>
[AWSProperty(Min=10, Max=196)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
/// <summary>
/// Gets and sets the property TypeVersionId.
/// <para>
/// The version ID of the type specified.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string TypeVersionId
{
get { return this._typeVersionId; }
set { this._typeVersionId = value; }
}
// Check to see if TypeVersionId property is set
internal bool IsSetTypeVersionId()
{
return this._typeVersionId != null;
}
}
}
| 199 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Specifies <code>RESOURCE</code> type target details for activated hooks.
/// </summary>
public partial class ChangeSetHookResourceTargetDetails
{
private string _logicalResourceId;
private ChangeAction _resourceAction;
private string _resourceType;
/// <summary>
/// Gets and sets the property LogicalResourceId.
/// <para>
/// The resource's logical ID, which is defined in the stack's template.
/// </para>
/// </summary>
public string LogicalResourceId
{
get { return this._logicalResourceId; }
set { this._logicalResourceId = value; }
}
// Check to see if LogicalResourceId property is set
internal bool IsSetLogicalResourceId()
{
return this._logicalResourceId != null;
}
/// <summary>
/// Gets and sets the property ResourceAction.
/// <para>
/// Specifies the action of the resource.
/// </para>
/// </summary>
public ChangeAction ResourceAction
{
get { return this._resourceAction; }
set { this._resourceAction = value; }
}
// Check to see if ResourceAction property is set
internal bool IsSetResourceAction()
{
return this._resourceAction != null;
}
/// <summary>
/// Gets and sets the property ResourceType.
/// <para>
/// The type of CloudFormation resource, such as <code>AWS::S3::Bucket</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ResourceType
{
get { return this._resourceType; }
set { this._resourceType = value; }
}
// Check to see if ResourceType property is set
internal bool IsSetResourceType()
{
return this._resourceType != null;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Specifies target details for an activated hook.
/// </summary>
public partial class ChangeSetHookTargetDetails
{
private ChangeSetHookResourceTargetDetails _resourceTargetDetails;
private HookTargetType _targetType;
/// <summary>
/// Gets and sets the property ResourceTargetDetails.
/// <para>
/// Required if <code>TargetType</code> is <code>RESOURCE</code>.
/// </para>
/// </summary>
public ChangeSetHookResourceTargetDetails ResourceTargetDetails
{
get { return this._resourceTargetDetails; }
set { this._resourceTargetDetails = value; }
}
// Check to see if ResourceTargetDetails property is set
internal bool IsSetResourceTargetDetails()
{
return this._resourceTargetDetails != null;
}
/// <summary>
/// Gets and sets the property TargetType.
/// <para>
/// The name of the type.
/// </para>
/// </summary>
public HookTargetType TargetType
{
get { return this._targetType; }
set { this._targetType = value; }
}
// Check to see if TargetType property is set
internal bool IsSetTargetType()
{
return this._targetType != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The specified change set name or ID doesn't exit. To view valid change sets for a
/// stack, use the <code>ListChangeSets</code> operation.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ChangeSetNotFoundException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new ChangeSetNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ChangeSetNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ChangeSetNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ChangeSetNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ChangeSetNotFoundException
/// </summary>
/// <param name="innerException"></param>
public ChangeSetNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ChangeSetNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ChangeSetNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ChangeSetNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ChangeSetNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ChangeSetNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ChangeSetNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The <code>ChangeSetSummary</code> structure describes a change set, its status, and
/// the stack with which it's associated.
/// </summary>
public partial class ChangeSetSummary
{
private string _changeSetId;
private string _changeSetName;
private DateTime? _creationTime;
private string _description;
private ExecutionStatus _executionStatus;
private bool? _includeNestedStacks;
private string _parentChangeSetId;
private string _rootChangeSetId;
private string _stackId;
private string _stackName;
private ChangeSetStatus _status;
private string _statusReason;
/// <summary>
/// Gets and sets the property ChangeSetId.
/// <para>
/// The ID of the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ChangeSetId
{
get { return this._changeSetId; }
set { this._changeSetId = value; }
}
// Check to see if ChangeSetId property is set
internal bool IsSetChangeSetId()
{
return this._changeSetId != null;
}
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name of the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property CreationTime.
/// <para>
/// The start time when the change set was created, in UTC.
/// </para>
/// </summary>
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Descriptive information about the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property ExecutionStatus.
/// <para>
/// If the change set execution status is <code>AVAILABLE</code>, you can execute the
/// change set. If you can't execute the change set, the status indicates why. For example,
/// a change set might be in an <code>UNAVAILABLE</code> state because CloudFormation
/// is still creating it or in an <code>OBSOLETE</code> state because the stack was already
/// updated.
/// </para>
/// </summary>
public ExecutionStatus ExecutionStatus
{
get { return this._executionStatus; }
set { this._executionStatus = value; }
}
// Check to see if ExecutionStatus property is set
internal bool IsSetExecutionStatus()
{
return this._executionStatus != null;
}
/// <summary>
/// Gets and sets the property IncludeNestedStacks.
/// <para>
/// Specifies the current setting of <code>IncludeNestedStacks</code> for the change set.
/// </para>
/// </summary>
public bool IncludeNestedStacks
{
get { return this._includeNestedStacks.GetValueOrDefault(); }
set { this._includeNestedStacks = value; }
}
// Check to see if IncludeNestedStacks property is set
internal bool IsSetIncludeNestedStacks()
{
return this._includeNestedStacks.HasValue;
}
/// <summary>
/// Gets and sets the property ParentChangeSetId.
/// <para>
/// The parent change set ID.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ParentChangeSetId
{
get { return this._parentChangeSetId; }
set { this._parentChangeSetId = value; }
}
// Check to see if ParentChangeSetId property is set
internal bool IsSetParentChangeSetId()
{
return this._parentChangeSetId != null;
}
/// <summary>
/// Gets and sets the property RootChangeSetId.
/// <para>
/// The root change set ID.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string RootChangeSetId
{
get { return this._rootChangeSetId; }
set { this._rootChangeSetId = value; }
}
// Check to see if RootChangeSetId property is set
internal bool IsSetRootChangeSetId()
{
return this._rootChangeSetId != null;
}
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// The ID of the stack with which the change set is associated.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack with which the change set is associated.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The state of the change set, such as <code>CREATE_IN_PROGRESS</code>, <code>CREATE_COMPLETE</code>,
/// or <code>FAILED</code>.
/// </para>
/// </summary>
public ChangeSetStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
/// <summary>
/// Gets and sets the property StatusReason.
/// <para>
/// A description of the change set's status. For example, if your change set is in the
/// <code>FAILED</code> state, CloudFormation shows the error message.
/// </para>
/// </summary>
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
}
}
| 278 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ContinueUpdateRollback operation.
/// For a specified stack that's in the <code>UPDATE_ROLLBACK_FAILED</code> state, continues
/// rolling it back to the <code>UPDATE_ROLLBACK_COMPLETE</code> state. Depending on the
/// cause of the failure, you can manually <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed">
/// fix the error</a> and continue the rollback. By continuing the rollback, you can return
/// your stack to a working state (the <code>UPDATE_ROLLBACK_COMPLETE</code> state), and
/// then try to update the stack again.
///
///
/// <para>
/// A stack goes into the <code>UPDATE_ROLLBACK_FAILED</code> state when CloudFormation
/// can't roll back all changes after a failed stack update. For example, you might have
/// a stack that's rolling back to an old database instance that was deleted outside of
/// CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes
/// that the database instance still exists and attempts to roll back to it, causing the
/// update rollback to fail.
/// </para>
/// </summary>
public partial class ContinueUpdateRollbackRequest : AmazonCloudFormationRequest
{
private string _clientRequestToken;
private List<string> _resourcesToSkip = new List<string>();
private string _roleARN;
private string _stackName;
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// A unique identifier for this <code>ContinueUpdateRollback</code> request. Specify
/// this token if you plan to retry requests so that CloudFormation knows that you're
/// not attempting to continue the rollback to a stack with the same name. You might retry
/// <code>ContinueUpdateRollback</code> requests to ensure that CloudFormation successfully
/// received them.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property ResourcesToSkip.
/// <para>
/// A list of the logical IDs of the resources that CloudFormation skips during the continue
/// update rollback operation. You can specify only resources that are in the <code>UPDATE_FAILED</code>
/// state because a rollback failed. You can't specify resources that are in the <code>UPDATE_FAILED</code>
/// state for other reasons, for example, because an update was canceled. To check why
/// a resource update failed, use the <a>DescribeStackResources</a> action, and view the
/// resource status reason.
/// </para>
/// <important>
/// <para>
/// Specify this property to skip rolling back resources that CloudFormation can't successfully
/// roll back. We recommend that you <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed">
/// troubleshoot</a> resources before skipping them. CloudFormation sets the status of
/// the specified resources to <code>UPDATE_COMPLETE</code> and continues to roll back
/// the stack. After the rollback is complete, the state of the skipped resources will
/// be inconsistent with the state of the resources in the stack template. Before performing
/// another stack update, you must update the stack or resources to be consistent with
/// each other. If you don't, subsequent stack updates might fail, and the stack will
/// become unrecoverable.
/// </para>
/// </important>
/// <para>
/// Specify the minimum number of resources required to successfully roll back your stack.
/// For example, a failed resource update might cause dependent resources to fail. In
/// this case, it might not be necessary to skip the dependent resources.
/// </para>
///
/// <para>
/// To skip resources that are part of nested stacks, use the following format: <code>NestedStackName.ResourceLogicalID</code>.
/// If you want to specify the logical ID of a stack resource (<code>Type: AWS::CloudFormation::Stack</code>)
/// in the <code>ResourcesToSkip</code> list, then its corresponding embedded stack must
/// be in one of the following states: <code>DELETE_IN_PROGRESS</code>, <code>DELETE_COMPLETE</code>,
/// or <code>DELETE_FAILED</code>.
/// </para>
/// <note>
/// <para>
/// Don't confuse a child stack's name with its corresponding logical ID defined in the
/// parent stack. For an example of a continue update rollback operation with nested stacks,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html#nested-stacks">Using
/// ResourcesToSkip to recover a nested stacks hierarchy</a>.
/// </para>
/// </note>
/// </summary>
public List<string> ResourcesToSkip
{
get { return this._resourcesToSkip; }
set { this._resourcesToSkip = value; }
}
// Check to see if ResourcesToSkip property is set
internal bool IsSetResourcesToSkip()
{
return this._resourcesToSkip != null && this._resourcesToSkip.Count > 0;
}
/// <summary>
/// Gets and sets the property RoleARN.
/// <para>
/// The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that
/// CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials
/// to make calls on your behalf. CloudFormation always uses this role for all future
/// operations on the stack. Provided that users have permission to operate on the stack,
/// CloudFormation uses this role even if the users don't have permission to pass it.
/// Ensure that the role grants least permission.
/// </para>
///
/// <para>
/// If you don't specify a value, CloudFormation uses the role that was previously associated
/// with the stack. If no role is available, CloudFormation uses a temporary session that's
/// generated from your user credentials.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
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;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique ID of the stack that you want to continue rolling back.
/// </para>
/// <note>
/// <para>
/// Don't specify the name of a nested stack (a stack that was created by using the <code>AWS::CloudFormation::Stack</code>
/// resource). Instead, use this operation on the parent stack (the stack that contains
/// the <code>AWS::CloudFormation::Stack</code> resource).
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true, Min=1)]
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;
}
}
}
| 194 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>ContinueUpdateRollback</a> operation.
/// </summary>
public partial class ContinueUpdateRollbackResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the CreateChangeSet operation.
/// Creates a list of changes that will be applied to a stack so that you can review the
/// changes before executing them. You can create a change set for a stack that doesn't
/// exist or an existing stack. If you create a change set for a stack that doesn't exist,
/// the change set shows all of the resources that CloudFormation will create. If you
/// create a change set for an existing stack, CloudFormation compares the stack's information
/// with the information that you submit in the change set and lists the differences.
/// Use change sets to understand which resources CloudFormation will create or change,
/// and how it will change resources in an existing stack, before you create or update
/// a stack.
///
///
/// <para>
/// To create a change set for a stack that doesn't exist, for the <code>ChangeSetType</code>
/// parameter, specify <code>CREATE</code>. To create a change set for an existing stack,
/// specify <code>UPDATE</code> for the <code>ChangeSetType</code> parameter. To create
/// a change set for an import operation, specify <code>IMPORT</code> for the <code>ChangeSetType</code>
/// parameter. After the <code>CreateChangeSet</code> call successfully completes, CloudFormation
/// starts creating the change set. To check the status of the change set or to review
/// it, use the <a>DescribeChangeSet</a> action.
/// </para>
///
/// <para>
/// When you are satisfied with the changes the change set will make, execute the change
/// set by using the <a>ExecuteChangeSet</a> action. CloudFormation doesn't make changes
/// until you execute the change set.
/// </para>
///
/// <para>
/// To create a change set for the entire stack hierarchy, set <code>IncludeNestedStacks</code>
/// to <code>True</code>.
/// </para>
/// </summary>
public partial class CreateChangeSetRequest : AmazonCloudFormationRequest
{
private List<string> _capabilities = new List<string>();
private string _changeSetName;
private ChangeSetType _changeSetType;
private string _clientToken;
private string _description;
private bool? _includeNestedStacks;
private List<string> _notificationARNs = new List<string>();
private OnStackFailure _onStackFailure;
private List<Parameter> _parameters = new List<Parameter>();
private List<ResourceToImport> _resourcesToImport = new List<ResourceToImport>();
private List<string> _resourceTypes = new List<string>();
private string _roleARN;
private RollbackConfiguration _rollbackConfiguration;
private string _stackName;
private List<Tag> _tags = new List<Tag>();
private string _templateBody;
private string _templateURL;
private bool? _usePreviousTemplate;
/// <summary>
/// Gets and sets the property Capabilities.
/// <para>
/// In some cases, you must explicitly acknowledge that your stack template contains certain
/// capabilities in order for CloudFormation to create the stack.
/// </para>
/// <ul> <li>
/// <para>
/// <code>CAPABILITY_IAM</code> and <code>CAPABILITY_NAMED_IAM</code>
/// </para>
///
/// <para>
/// Some stack templates might include resources that can affect permissions in your Amazon
/// Web Services account; for example, by creating new Identity and Access Management
/// (IAM) users. For those stacks, you must explicitly acknowledge this by specifying
/// one of these capabilities.
/// </para>
///
/// <para>
/// The following IAM resources require you to specify either the <code>CAPABILITY_IAM</code>
/// or <code>CAPABILITY_NAMED_IAM</code> capability.
/// </para>
/// <ul> <li>
/// <para>
/// If you have IAM resources, you can specify either capability.
/// </para>
/// </li> <li>
/// <para>
/// If you have IAM resources with custom names, you <i>must</i> specify <code>CAPABILITY_NAMED_IAM</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you don't specify either of these capabilities, CloudFormation returns an <code>InsufficientCapabilities</code>
/// error.
/// </para>
/// </li> </ul>
/// <para>
/// If your stack template contains these resources, we suggest that you review all permissions
/// associated with them and edit their permissions if necessary.
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">
/// AWS::IAM::AccessKey</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html">
/// AWS::IAM::Group</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
///
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html">
/// AWS::IAM::Policy</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">
/// AWS::IAM::Role</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">
/// AWS::IAM::User</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html">AWS::IAM::UserToGroupAddition</a>
///
/// </para>
/// </li> </ul>
/// <para>
/// For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging
/// IAM resources in CloudFormation templates</a>.
/// </para>
/// </li> <li>
/// <para>
/// <code>CAPABILITY_AUTO_EXPAND</code>
/// </para>
///
/// <para>
/// Some template contain macros. Macros perform custom processing on templates; this
/// can include simple actions like find-and-replace operations, all the way to extensive
/// transformations of entire templates. Because of this, users typically create a change
/// set from the processed template, so that they can review the changes resulting from
/// the macros before actually creating the stack. If your stack template contains one
/// or more macros, and you choose to create a stack directly from the processed template,
/// without first reviewing the resulting changes in a change set, you must acknowledge
/// this capability. This includes the <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html">AWS::Include</a>
/// and <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a>
/// transforms, which are macros hosted by CloudFormation.
/// </para>
/// <note>
/// <para>
/// This capacity doesn't apply to creating change sets, and specifying it when creating
/// change sets has no effect.
/// </para>
///
/// <para>
/// If you want to create a stack from a stack template that contains macros <i>and</i>
/// nested stacks, you must create or update the stack directly from the template using
/// the <a>CreateStack</a> or <a>UpdateStack</a> action, and specifying this capability.
/// </para>
/// </note>
/// <para>
/// For more information about macros, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Using
/// CloudFormation macros to perform custom processing on templates</a>.
/// </para>
/// </li> </ul>
/// </summary>
public List<string> 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;
}
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name of the change set. The name must be unique among all change sets that are
/// associated with the specified stack.
/// </para>
///
/// <para>
/// A change set name can contain only alphanumeric, case sensitive characters, and hyphens.
/// It must start with an alphabetical character and can't exceed 128 characters.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=128)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property ChangeSetType.
/// <para>
/// The type of change set operation. To create a change set for a new stack, specify
/// <code>CREATE</code>. To create a change set for an existing stack, specify <code>UPDATE</code>.
/// To create a change set for an import operation, specify <code>IMPORT</code>.
/// </para>
///
/// <para>
/// If you create a change set for a new stack, CloudFormation creates a stack with a
/// unique stack ID, but no template or resources. The stack will be in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html#d0e11995">REVIEW_IN_PROGRESS</a>
/// state until you execute the change set.
/// </para>
///
/// <para>
/// By default, CloudFormation specifies <code>UPDATE</code>. You can't use the <code>UPDATE</code>
/// type to create a change set for a new stack or the <code>CREATE</code> type to create
/// a change set for an existing stack.
/// </para>
/// </summary>
public ChangeSetType ChangeSetType
{
get { return this._changeSetType; }
set { this._changeSetType = value; }
}
// Check to see if ChangeSetType property is set
internal bool IsSetChangeSetType()
{
return this._changeSetType != null;
}
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// A unique identifier for this <code>CreateChangeSet</code> request. Specify this token
/// if you plan to retry requests so that CloudFormation knows that you're not attempting
/// to create another change set with the same name. You might retry <code>CreateChangeSet</code>
/// requests to ensure that CloudFormation successfully received them.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description to help you identify this change set.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property IncludeNestedStacks.
/// <para>
/// Creates a change set for the all nested stacks specified in the template. The default
/// behavior of this action is set to <code>False</code>. To include nested sets in a
/// change set, specify <code>True</code>.
/// </para>
/// </summary>
public bool IncludeNestedStacks
{
get { return this._includeNestedStacks.GetValueOrDefault(); }
set { this._includeNestedStacks = value; }
}
// Check to see if IncludeNestedStacks property is set
internal bool IsSetIncludeNestedStacks()
{
return this._includeNestedStacks.HasValue;
}
/// <summary>
/// Gets and sets the property NotificationARNs.
/// <para>
/// The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS)
/// topics that CloudFormation associates with the stack. To remove all associated notification
/// topics, specify an empty list.
/// </para>
/// </summary>
[AWSProperty(Max=5)]
public List<string> 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;
}
/// <summary>
/// Gets and sets the property OnStackFailure.
/// <para>
/// Determines what action will be taken if stack creation fails. If this parameter is
/// specified, the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a>
/// API operation must not be specified. This must be one of these values:
/// </para>
/// <ul> <li>
/// <para>
/// <code>DELETE</code> - Deletes the change set if the stack creation fails. This is
/// only valid when the <code>ChangeSetType</code> parameter is set to <code>CREATE</code>.
/// If the deletion of the stack fails, the status of the stack is <code>DELETE_FAILED</code>.
/// </para>
/// </li> <li>
/// <para>
/// <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent
/// to specifying <code>true</code> for the <code>DisableRollback</code> parameter to
/// the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a>
/// API operation.
/// </para>
/// </li> <li>
/// <para>
/// <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is
/// equivalent to specifying <code>false</code> for the <code>DisableRollback</code> parameter
/// to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a>
/// API operation.
/// </para>
/// </li> </ul>
/// <para>
/// For nested stacks, when the <code>OnStackFailure</code> parameter is set to <code>DELETE</code>
/// for the change set for the parent stack, any failure in a child stack will cause the
/// parent stack creation to fail and all stacks to be deleted.
/// </para>
/// </summary>
public OnStackFailure OnStackFailure
{
get { return this._onStackFailure; }
set { this._onStackFailure = value; }
}
// Check to see if OnStackFailure property is set
internal bool IsSetOnStackFailure()
{
return this._onStackFailure != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// A list of <code>Parameter</code> structures that specify input parameters for the
/// change set. For more information, see the <a>Parameter</a> data type.
/// </para>
/// </summary>
public List<Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourcesToImport.
/// <para>
/// The resources to import into your stack.
/// </para>
/// </summary>
[AWSProperty(Max=200)]
public List<ResourceToImport> ResourcesToImport
{
get { return this._resourcesToImport; }
set { this._resourcesToImport = value; }
}
// Check to see if ResourcesToImport property is set
internal bool IsSetResourcesToImport()
{
return this._resourcesToImport != null && this._resourcesToImport.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceTypes.
/// <para>
/// The template resource types that you have permissions to work with if you execute
/// this change set, such as <code>AWS::EC2::Instance</code>, <code>AWS::EC2::*</code>,
/// or <code>Custom::MyCustomInstance</code>.
/// </para>
///
/// <para>
/// If the list of resource types doesn't include a resource type that you're updating,
/// the stack update fails. By default, CloudFormation grants permissions to all resource
/// types. Identity and Access Management (IAM) uses this parameter for condition keys
/// in IAM policies for CloudFormation. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html">Controlling
/// access with Identity and Access Management</a> in the CloudFormation User Guide.
/// </para>
/// </summary>
public List<string> ResourceTypes
{
get { return this._resourceTypes; }
set { this._resourceTypes = value; }
}
// Check to see if ResourceTypes property is set
internal bool IsSetResourceTypes()
{
return this._resourceTypes != null && this._resourceTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property RoleARN.
/// <para>
/// The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that
/// CloudFormation assumes when executing the change set. CloudFormation uses the role's
/// credentials to make calls on your behalf. CloudFormation uses this role for all future
/// operations on the stack. Provided that users have permission to operate on the stack,
/// CloudFormation uses this role even if the users don't have permission to pass it.
/// Ensure that the role grants least permission.
/// </para>
///
/// <para>
/// If you don't specify a value, CloudFormation uses the role that was previously associated
/// with the stack. If no role is available, CloudFormation uses a temporary session that
/// is generated from your user credentials.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
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;
}
/// <summary>
/// Gets and sets the property RollbackConfiguration.
/// <para>
/// The rollback triggers for CloudFormation to monitor during stack creation and updating
/// operations, and for the specified monitoring period afterwards.
/// </para>
/// </summary>
public RollbackConfiguration RollbackConfiguration
{
get { return this._rollbackConfiguration; }
set { this._rollbackConfiguration = value; }
}
// Check to see if RollbackConfiguration property is set
internal bool IsSetRollbackConfiguration()
{
return this._rollbackConfiguration != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique ID of the stack for which you are creating a change set. CloudFormation
/// generates the change set by comparing this stack's information with the information
/// that you submit, such as a modified template or different parameter input values.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
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;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Key-value pairs to associate with this stack. CloudFormation also propagates these
/// tags to resources in the stack. You can specify a maximum of 50 tags.
/// </para>
/// </summary>
[AWSProperty(Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property TemplateBody.
/// <para>
/// A structure that contains the body of the revised template, with a minimum length
/// of 1 byte and a maximum length of 51,200 bytes. CloudFormation generates the change
/// set by comparing this template with the template of the stack that you specified.
/// </para>
///
/// <para>
/// Conditional: You must specify only <code>TemplateBody</code> or <code>TemplateURL</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
/// <summary>
/// Gets and sets the property TemplateURL.
/// <para>
/// The location of the file that contains the revised template. The URL must point to
/// a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems
/// Manager document. CloudFormation generates the change set by comparing this template
/// with the stack that you specified.
/// </para>
///
/// <para>
/// Conditional: You must specify only <code>TemplateBody</code> or <code>TemplateURL</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string TemplateURL
{
get { return this._templateURL; }
set { this._templateURL = value; }
}
// Check to see if TemplateURL property is set
internal bool IsSetTemplateURL()
{
return this._templateURL != null;
}
/// <summary>
/// Gets and sets the property UsePreviousTemplate.
/// <para>
/// Whether to reuse the template that's associated with the stack to create the change
/// set.
/// </para>
/// </summary>
public bool UsePreviousTemplate
{
get { return this._usePreviousTemplate.GetValueOrDefault(); }
set { this._usePreviousTemplate = value; }
}
// Check to see if UsePreviousTemplate property is set
internal bool IsSetUsePreviousTemplate()
{
return this._usePreviousTemplate.HasValue;
}
}
}
| 625 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>CreateChangeSet</a> action.
/// </summary>
public partial class CreateChangeSetResponse : AmazonWebServiceResponse
{
private string _id;
private string _stackId;
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The Amazon Resource Name (ARN) of the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// The unique ID of the stack.
/// </para>
/// </summary>
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;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The specified resource exists, but has been changed.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class CreatedButModifiedException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new CreatedButModifiedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public CreatedButModifiedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of CreatedButModifiedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public CreatedButModifiedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of CreatedButModifiedException
/// </summary>
/// <param name="innerException"></param>
public CreatedButModifiedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of CreatedButModifiedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CreatedButModifiedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of CreatedButModifiedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public CreatedButModifiedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the CreatedButModifiedException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected CreatedButModifiedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the CreateStackInstances operation.
/// Creates stack instances for the specified accounts, within the specified Amazon Web
/// Services Regions. A stack instance refers to a stack in a specific account and Region.
/// You must specify at least one value for either <code>Accounts</code> or <code>DeploymentTargets</code>,
/// and you must specify at least one value for <code>Regions</code>.
/// </summary>
public partial class CreateStackInstancesRequest : AmazonCloudFormationRequest
{
private List<string> _accounts = new List<string>();
private CallAs _callAs;
private DeploymentTargets _deploymentTargets;
private string _operationId;
private StackSetOperationPreferences _operationPreferences;
private List<Parameter> _parameterOverrides = new List<Parameter>();
private List<string> _regions = new List<string>();
private string _stackSetName;
/// <summary>
/// Gets and sets the property Accounts.
/// <para>
/// [Self-managed permissions] The names of one or more Amazon Web Services accounts that
/// you want to create stack instances in the specified Region(s) for.
/// </para>
///
/// <para>
/// You can specify <code>Accounts</code> or <code>DeploymentTargets</code>, but not both.
/// </para>
/// </summary>
public List<string> Accounts
{
get { return this._accounts; }
set { this._accounts = value; }
}
// Check to see if Accounts property is set
internal bool IsSetAccounts()
{
return this._accounts != null && this._accounts.Count > 0;
}
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property DeploymentTargets.
/// <para>
/// [Service-managed permissions] The Organizations accounts for which to create stack
/// instances in the specified Amazon Web Services Regions.
/// </para>
///
/// <para>
/// You can specify <code>Accounts</code> or <code>DeploymentTargets</code>, but not both.
/// </para>
/// </summary>
public DeploymentTargets DeploymentTargets
{
get { return this._deploymentTargets; }
set { this._deploymentTargets = value; }
}
// Check to see if DeploymentTargets property is set
internal bool IsSetDeploymentTargets()
{
return this._deploymentTargets != null;
}
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique identifier for this stack set operation.
/// </para>
///
/// <para>
/// The operation ID also functions as an idempotency token, to ensure that CloudFormation
/// performs the stack set operation only once, even if you retry the request multiple
/// times. You might retry stack set operation requests to ensure that CloudFormation
/// successfully received them.
/// </para>
///
/// <para>
/// If you don't specify an operation ID, the SDK generates one automatically.
/// </para>
///
/// <para>
/// Repeating this stack set operation with a new operation ID retries all stack instances
/// whose status is <code>OUTDATED</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property OperationPreferences.
/// <para>
/// Preferences for how CloudFormation performs this stack set operation.
/// </para>
/// </summary>
public StackSetOperationPreferences OperationPreferences
{
get { return this._operationPreferences; }
set { this._operationPreferences = value; }
}
// Check to see if OperationPreferences property is set
internal bool IsSetOperationPreferences()
{
return this._operationPreferences != null;
}
/// <summary>
/// Gets and sets the property ParameterOverrides.
/// <para>
/// A list of stack set parameters whose values you want to override in the selected stack
/// instances.
/// </para>
///
/// <para>
/// Any overridden parameter values will be applied to all stack instances in the specified
/// accounts and Amazon Web Services Regions. When specifying parameters and their values,
/// be aware of how CloudFormation sets parameter values during stack instance operations:
/// </para>
/// <ul> <li>
/// <para>
/// To override the current value for a parameter, include the parameter and specify its
/// value.
/// </para>
/// </li> <li>
/// <para>
/// To leave an overridden parameter set to its present value, include the parameter and
/// specify <code>UsePreviousValue</code> as <code>true</code>. (You can't specify both
/// a value and set <code>UsePreviousValue</code> to <code>true</code>.)
/// </para>
/// </li> <li>
/// <para>
/// To set an overridden parameter back to the value specified in the stack set, specify
/// a parameter list but don't include the parameter in the list.
/// </para>
/// </li> <li>
/// <para>
/// To leave all parameters set to their present values, don't specify this property at
/// all.
/// </para>
/// </li> </ul>
/// <para>
/// During stack set updates, any parameter values overridden for a stack instance aren't
/// updated, but retain their overridden value.
/// </para>
///
/// <para>
/// You can only override the parameter <i>values</i> that are specified in the stack
/// set; to add or delete a parameter itself, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html">UpdateStackSet</a>
/// to update the stack set template.
/// </para>
/// </summary>
public List<Parameter> ParameterOverrides
{
get { return this._parameterOverrides; }
set { this._parameterOverrides = value; }
}
// Check to see if ParameterOverrides property is set
internal bool IsSetParameterOverrides()
{
return this._parameterOverrides != null && this._parameterOverrides.Count > 0;
}
/// <summary>
/// Gets and sets the property Regions.
/// <para>
/// The names of one or more Amazon Web Services Regions where you want to create stack
/// instances using the specified Amazon Web Services accounts.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Regions
{
get { return this._regions; }
set { this._regions = value; }
}
// Check to see if Regions property is set
internal bool IsSetRegions()
{
return this._regions != null && this._regions.Count > 0;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or unique ID of the stack set that you want to create stack instances from.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 285 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the CreateStackInstances operation.
/// </summary>
public partial class CreateStackInstancesResponse : AmazonWebServiceResponse
{
private string _operationId;
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique identifier for this stack set operation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the CreateStack operation.
/// Creates a stack as specified in the template. After the call completes successfully,
/// the stack creation starts. You can check the status of the stack through the <a>DescribeStacks</a>
/// operation.
/// </summary>
public partial class CreateStackRequest : AmazonCloudFormationRequest
{
private List<string> _capabilities = new List<string>();
private string _clientRequestToken;
private bool? _disableRollback;
private bool? _enableTerminationProtection;
private List<string> _notificationARNs = new List<string>();
private OnFailure _onFailure;
private List<Parameter> _parameters = new List<Parameter>();
private List<string> _resourceTypes = new List<string>();
private string _roleARN;
private RollbackConfiguration _rollbackConfiguration;
private string _stackName;
private string _stackPolicyBody;
private string _stackPolicyURL;
private List<Tag> _tags = new List<Tag>();
private string _templateBody;
private string _templateURL;
private int? _timeoutInMinutes;
/// <summary>
/// Gets and sets the property Capabilities.
/// <para>
/// In some cases, you must explicitly acknowledge that your stack template contains certain
/// capabilities in order for CloudFormation to create the stack.
/// </para>
/// <ul> <li>
/// <para>
/// <code>CAPABILITY_IAM</code> and <code>CAPABILITY_NAMED_IAM</code>
/// </para>
///
/// <para>
/// Some stack templates might include resources that can affect permissions in your Amazon
/// Web Services account; for example, by creating new Identity and Access Management
/// (IAM) users. For those stacks, you must explicitly acknowledge this by specifying
/// one of these capabilities.
/// </para>
///
/// <para>
/// The following IAM resources require you to specify either the <code>CAPABILITY_IAM</code>
/// or <code>CAPABILITY_NAMED_IAM</code> capability.
/// </para>
/// <ul> <li>
/// <para>
/// If you have IAM resources, you can specify either capability.
/// </para>
/// </li> <li>
/// <para>
/// If you have IAM resources with custom names, you <i>must</i> specify <code>CAPABILITY_NAMED_IAM</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you don't specify either of these capabilities, CloudFormation returns an <code>InsufficientCapabilities</code>
/// error.
/// </para>
/// </li> </ul>
/// <para>
/// If your stack template contains these resources, we recommend that you review all
/// permissions associated with them and edit their permissions if necessary.
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">
/// AWS::IAM::AccessKey</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html">
/// AWS::IAM::Group</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
///
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html">
/// AWS::IAM::Policy</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">
/// AWS::IAM::Role</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">
/// AWS::IAM::User</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html">AWS::IAM::UserToGroupAddition</a>
///
/// </para>
/// </li> </ul>
/// <para>
/// For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging
/// IAM Resources in CloudFormation Templates</a>.
/// </para>
/// </li> <li>
/// <para>
/// <code>CAPABILITY_AUTO_EXPAND</code>
/// </para>
///
/// <para>
/// Some template contain macros. Macros perform custom processing on templates; this
/// can include simple actions like find-and-replace operations, all the way to extensive
/// transformations of entire templates. Because of this, users typically create a change
/// set from the processed template, so that they can review the changes resulting from
/// the macros before actually creating the stack. If your stack template contains one
/// or more macros, and you choose to create a stack directly from the processed template,
/// without first reviewing the resulting changes in a change set, you must acknowledge
/// this capability. This includes the <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html">AWS::Include</a>
/// and <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a>
/// transforms, which are macros hosted by CloudFormation.
/// </para>
///
/// <para>
/// If you want to create a stack from a stack template that contains macros <i>and</i>
/// nested stacks, you must create the stack directly from the template using this capability.
/// </para>
/// <important>
/// <para>
/// You should only create stacks directly from a stack template that contains macros
/// if you know what processing the macro performs.
/// </para>
///
/// <para>
/// Each macro relies on an underlying Lambda service function for processing stack templates.
/// Be aware that the Lambda function owner can update the function operation without
/// CloudFormation being notified.
/// </para>
/// </important>
/// <para>
/// For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Using
/// CloudFormation macros to perform custom processing on templates</a>.
/// </para>
/// </li> </ul>
/// </summary>
public List<string> 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;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// A unique identifier for this <code>CreateStack</code> request. Specify this token
/// if you plan to retry requests so that CloudFormation knows that you're not attempting
/// to create a stack with the same name. You might retry <code>CreateStack</code> requests
/// to ensure that CloudFormation successfully received them.
/// </para>
///
/// <para>
/// All events initiated by a given stack operation are assigned the same client request
/// token, which you can use to track operations. For example, if you execute a <code>CreateStack</code>
/// operation with the token <code>token1</code>, then all the <code>StackEvents</code>
/// generated by that operation will have <code>ClientRequestToken</code> set as <code>token1</code>.
/// </para>
///
/// <para>
/// In the console, stack operations display the client request token on the Events tab.
/// Stack operations that are initiated from the console use the token format <i>Console-StackOperation-ID</i>,
/// which helps you easily identify the stack operation . For example, if you create a
/// stack using the console, each stack event would be assigned the same token in the
/// following format: <code>Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property DisableRollback.
/// <para>
/// Set to <code>true</code> to disable rollback of the stack if stack creation failed.
/// You can specify either <code>DisableRollback</code> or <code>OnFailure</code>, but
/// not both.
/// </para>
///
/// <para>
/// Default: <code>false</code>
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property EnableTerminationProtection.
/// <para>
/// Whether to enable termination protection on the specified stack. If a user attempts
/// to delete a stack with termination protection enabled, the operation fails and the
/// stack remains unchanged. For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html">Protecting
/// a Stack From Being Deleted</a> in the <i>CloudFormation User Guide</i>. Termination
/// protection is deactivated on stacks by default.
/// </para>
///
/// <para>
/// For <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html">nested
/// stacks</a>, termination protection is set on the root stack and can't be changed directly
/// on the nested stack.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property NotificationARNs.
/// <para>
/// The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related
/// events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your
/// Command Line Interface (CLI).
/// </para>
/// </summary>
[AWSProperty(Max=5)]
public List<string> 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;
}
/// <summary>
/// Gets and sets the property OnFailure.
/// <para>
/// Determines what action will be taken if stack creation fails. This must be one of:
/// <code>DO_NOTHING</code>, <code>ROLLBACK</code>, or <code>DELETE</code>. You can specify
/// either <code>OnFailure</code> or <code>DisableRollback</code>, but not both.
/// </para>
///
/// <para>
/// Default: <code>ROLLBACK</code>
/// </para>
/// </summary>
public OnFailure OnFailure
{
get { return this._onFailure; }
set { this._onFailure = value; }
}
// Check to see if OnFailure property is set
internal bool IsSetOnFailure()
{
return this._onFailure != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// A list of <code>Parameter</code> structures that specify input parameters for the
/// stack. For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html">Parameter</a>
/// data type.
/// </para>
/// </summary>
public List<Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceTypes.
/// <para>
/// The template resource types that you have permissions to work with for this create
/// stack action, such as <code>AWS::EC2::Instance</code>, <code>AWS::EC2::*</code>, or
/// <code>Custom::MyCustomInstance</code>. Use the following syntax to describe template
/// resource types: <code>AWS::*</code> (for all Amazon Web Services resources), <code>Custom::*</code>
/// (for all custom resources), <code>Custom::<i>logical_ID</i> </code> (for a specific
/// custom resource), <code>AWS::<i>service_name</i>::*</code> (for all resources of a
/// particular Amazon Web Services service), and <code>AWS::<i>service_name</i>::<i>resource_logical_ID</i>
/// </code> (for a specific Amazon Web Services resource).
/// </para>
///
/// <para>
/// If the list of resource types doesn't include a resource that you're creating, the
/// stack creation fails. By default, CloudFormation grants permissions to all resource
/// types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific
/// condition keys in IAM policies. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html">Controlling
/// Access with Identity and Access Management</a>.
/// </para>
/// </summary>
public List<string> ResourceTypes
{
get { return this._resourceTypes; }
set { this._resourceTypes = value; }
}
// Check to see if ResourceTypes property is set
internal bool IsSetResourceTypes()
{
return this._resourceTypes != null && this._resourceTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property RoleARN.
/// <para>
/// The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that
/// CloudFormation assumes to create the stack. CloudFormation uses the role's credentials
/// to make calls on your behalf. CloudFormation always uses this role for all future
/// operations on the stack. Provided that users have permission to operate on the stack,
/// CloudFormation uses this role even if the users don't have permission to pass it.
/// Ensure that the role grants least privilege.
/// </para>
///
/// <para>
/// If you don't specify a value, CloudFormation uses the role that was previously associated
/// with the stack. If no role is available, CloudFormation uses a temporary session that's
/// generated from your user credentials.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
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;
}
/// <summary>
/// Gets and sets the property RollbackConfiguration.
/// <para>
/// The rollback triggers for CloudFormation to monitor during stack creation and updating
/// operations, and for the specified monitoring period afterwards.
/// </para>
/// </summary>
public RollbackConfiguration RollbackConfiguration
{
get { return this._rollbackConfiguration; }
set { this._rollbackConfiguration = value; }
}
// Check to see if RollbackConfiguration property is set
internal bool IsSetRollbackConfiguration()
{
return this._rollbackConfiguration != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name that's associated with the stack. The name must be unique in the Region in
/// which you are creating the stack.
/// </para>
/// <note>
/// <para>
/// A stack name can contain only alphanumeric characters (case sensitive) and hyphens.
/// It must start with an alphabetical character and can't be longer than 128 characters.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true)]
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;
}
/// <summary>
/// Gets and sets the property StackPolicyBody.
/// <para>
/// Structure containing the stack policy body. For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html">
/// Prevent Updates to Stack Resources</a> in the <i>CloudFormation User Guide</i>. You
/// can specify either the <code>StackPolicyBody</code> or the <code>StackPolicyURL</code>
/// parameter, but not both.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=16384)]
public string StackPolicyBody
{
get { return this._stackPolicyBody; }
set { this._stackPolicyBody = value; }
}
// Check to see if StackPolicyBody property is set
internal bool IsSetStackPolicyBody()
{
return this._stackPolicyBody != null;
}
/// <summary>
/// Gets and sets the property StackPolicyURL.
/// <para>
/// Location of a file containing the stack policy. The URL must point to a policy (maximum
/// size: 16 KB) located in an S3 bucket in the same Region as the stack. You can specify
/// either the <code>StackPolicyBody</code> or the <code>StackPolicyURL</code> parameter,
/// but not both.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1350)]
public string StackPolicyURL
{
get { return this._stackPolicyURL; }
set { this._stackPolicyURL = value; }
}
// Check to see if StackPolicyURL property is set
internal bool IsSetStackPolicyURL()
{
return this._stackPolicyURL != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Key-value pairs to associate with this stack. CloudFormation also propagates these
/// tags to the resources created in the stack. A maximum number of 50 tags can be specified.
/// </para>
/// </summary>
[AWSProperty(Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property TemplateBody.
/// <para>
/// Structure containing the template body with a minimum length of 1 byte and a maximum
/// length of 51,200 bytes. For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must specify either the <code>TemplateBody</code> or the <code>TemplateURL</code>
/// parameter, but not both.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
/// <summary>
/// Gets and sets the property TemplateURL.
/// <para>
/// Location of file containing the template body. The URL must point to a template (max
/// size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.
/// For more information, go to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must specify either the <code>TemplateBody</code> or the <code>TemplateURL</code>
/// parameter, but not both.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string TemplateURL
{
get { return this._templateURL; }
set { this._templateURL = value; }
}
// Check to see if TemplateURL property is set
internal bool IsSetTemplateURL()
{
return this._templateURL != null;
}
/// <summary>
/// Gets and sets the property TimeoutInMinutes.
/// <para>
/// The amount of time that can pass before the stack status becomes CREATE_FAILED; if
/// <code>DisableRollback</code> is not set or is set to <code>false</code>, the stack
/// will be rolled back.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
}
| 590 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>CreateStack</a> action.
/// </summary>
public partial class CreateStackResponse : AmazonWebServiceResponse
{
private string _stackId;
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// Unique identifier of the stack.
/// </para>
/// </summary>
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;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the CreateStackSet operation.
/// Creates a stack set.
/// </summary>
public partial class CreateStackSetRequest : AmazonCloudFormationRequest
{
private string _administrationRoleARN;
private AutoDeployment _autoDeployment;
private CallAs _callAs;
private List<string> _capabilities = new List<string>();
private string _clientRequestToken;
private string _description;
private string _executionRoleName;
private ManagedExecution _managedExecution;
private List<Parameter> _parameters = new List<Parameter>();
private PermissionModels _permissionModel;
private string _stackId;
private string _stackSetName;
private List<Tag> _tags = new List<Tag>();
private string _templateBody;
private string _templateURL;
/// <summary>
/// Gets and sets the property AdministrationRoleARN.
/// <para>
/// The Amazon Resource Name (ARN) of the IAM role to use to create this stack set.
/// </para>
///
/// <para>
/// Specify an IAM role only if you are using customized administrator roles to control
/// which users or groups can manage specific stack sets within the same administrator
/// account. For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html">Prerequisites:
/// Granting Permissions for Stack Set Operations</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string AdministrationRoleARN
{
get { return this._administrationRoleARN; }
set { this._administrationRoleARN = value; }
}
// Check to see if AdministrationRoleARN property is set
internal bool IsSetAdministrationRoleARN()
{
return this._administrationRoleARN != null;
}
/// <summary>
/// Gets and sets the property AutoDeployment.
/// <para>
/// Describes whether StackSets automatically deploys to Organizations accounts that are
/// added to the target organization or organizational unit (OU). Specify only if <code>PermissionModel</code>
/// is <code>SERVICE_MANAGED</code>.
/// </para>
/// </summary>
public AutoDeployment AutoDeployment
{
get { return this._autoDeployment; }
set { this._autoDeployment = value; }
}
// Check to see if AutoDeployment property is set
internal bool IsSetAutoDeployment()
{
return this._autoDeployment != null;
}
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// To create a stack set with service-managed permissions while signed in to the management
/// account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// To create a stack set with service-managed permissions while signed in to a delegated
/// administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated admin in the management
/// account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// <para>
/// Stack sets with service-managed permissions are created in the management account,
/// including stack sets that are created by delegated administrators.
/// </para>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property Capabilities.
/// <para>
/// In some cases, you must explicitly acknowledge that your stack set template contains
/// certain capabilities in order for CloudFormation to create the stack set and related
/// stack instances.
/// </para>
/// <ul> <li>
/// <para>
/// <code>CAPABILITY_IAM</code> and <code>CAPABILITY_NAMED_IAM</code>
/// </para>
///
/// <para>
/// Some stack templates might include resources that can affect permissions in your Amazon
/// Web Services account; for example, by creating new Identity and Access Management
/// (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying
/// one of these capabilities.
/// </para>
///
/// <para>
/// The following IAM resources require you to specify either the <code>CAPABILITY_IAM</code>
/// or <code>CAPABILITY_NAMED_IAM</code> capability.
/// </para>
/// <ul> <li>
/// <para>
/// If you have IAM resources, you can specify either capability.
/// </para>
/// </li> <li>
/// <para>
/// If you have IAM resources with custom names, you <i>must</i> specify <code>CAPABILITY_NAMED_IAM</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you don't specify either of these capabilities, CloudFormation returns an <code>InsufficientCapabilities</code>
/// error.
/// </para>
/// </li> </ul>
/// <para>
/// If your stack template contains these resources, we recommend that you review all
/// permissions associated with them and edit their permissions if necessary.
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">
/// AWS::IAM::AccessKey</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html">
/// AWS::IAM::Group</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
///
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html">
/// AWS::IAM::Policy</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">
/// AWS::IAM::Role</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">
/// AWS::IAM::User</a>
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html">AWS::IAM::UserToGroupAddition</a>
///
/// </para>
/// </li> </ul>
/// <para>
/// For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging
/// IAM Resources in CloudFormation Templates</a>.
/// </para>
/// </li> <li>
/// <para>
/// <code>CAPABILITY_AUTO_EXPAND</code>
/// </para>
///
/// <para>
/// Some templates reference macros. If your stack set template references one or more
/// macros, you must create the stack set directly from the processed template, without
/// first reviewing the resulting changes in a change set. To create the stack set directly,
/// you must acknowledge this capability. For more information, see <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Using
/// CloudFormation Macros to Perform Custom Processing on Templates</a>.
/// </para>
/// <important>
/// <para>
/// Stack sets with service-managed permissions don't currently support the use of macros
/// in templates. (This includes the <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html">AWS::Include</a>
/// and <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a>
/// transforms, which are macros hosted by CloudFormation.) Even if you specify this capability
/// for a stack set with service-managed permissions, if you reference a macro in your
/// template the stack set operation will fail.
/// </para>
/// </important> </li> </ul>
/// </summary>
public List<string> 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;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// A unique identifier for this <code>CreateStackSet</code> request. Specify this token
/// if you plan to retry requests so that CloudFormation knows that you're not attempting
/// to create another stack set with the same name. You might retry <code>CreateStackSet</code>
/// requests to ensure that CloudFormation successfully received them.
/// </para>
///
/// <para>
/// If you don't specify an operation ID, the SDK generates one automatically.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the stack set. You can use the description to identify the stack
/// set's purpose or other important information.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property ExecutionRoleName.
/// <para>
/// The name of the IAM execution role to use to create the stack set. If you do not specify
/// an execution role, CloudFormation uses the <code>AWSCloudFormationStackSetExecutionRole</code>
/// role for the stack set operation.
/// </para>
///
/// <para>
/// Specify an IAM role only if you are using customized execution roles to control which
/// stack resources users and groups can include in their stack sets.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string ExecutionRoleName
{
get { return this._executionRoleName; }
set { this._executionRoleName = value; }
}
// Check to see if ExecutionRoleName property is set
internal bool IsSetExecutionRoleName()
{
return this._executionRoleName != null;
}
/// <summary>
/// Gets and sets the property ManagedExecution.
/// <para>
/// Describes whether StackSets performs non-conflicting operations concurrently and queues
/// conflicting operations.
/// </para>
/// </summary>
public ManagedExecution ManagedExecution
{
get { return this._managedExecution; }
set { this._managedExecution = value; }
}
// Check to see if ManagedExecution property is set
internal bool IsSetManagedExecution()
{
return this._managedExecution != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// The input parameters for the stack set template.
/// </para>
/// </summary>
public List<Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property PermissionModel.
/// <para>
/// Describes how the IAM roles required for stack set operations are created. By default,
/// <code>SELF-MANAGED</code> is specified.
/// </para>
/// <ul> <li>
/// <para>
/// With <code>self-managed</code> permissions, you must create the administrator and
/// execution roles required to deploy to target accounts. For more information, see <a
/// href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html">Grant
/// Self-Managed Stack Set Permissions</a>.
/// </para>
/// </li> <li>
/// <para>
/// With <code>service-managed</code> permissions, StackSets automatically creates the
/// IAM roles required to deploy to accounts managed by Organizations. For more information,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-service-managed.html">Grant
/// Service-Managed Stack Set Permissions</a>.
/// </para>
/// </li> </ul>
/// </summary>
public PermissionModels PermissionModel
{
get { return this._permissionModel; }
set { this._permissionModel = value; }
}
// Check to see if PermissionModel property is set
internal bool IsSetPermissionModel()
{
return this._permissionModel != null;
}
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// The stack ID you are importing into a new stack set. Specify the Amazon Resource Name
/// (ARN) of the stack.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name to associate with the stack set. The name must be unique in the Region where
/// you create your stack set.
/// </para>
/// <note>
/// <para>
/// A stack name can contain only alphanumeric characters (case-sensitive) and hyphens.
/// It must start with an alphabetic character and can't be longer than 128 characters.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The key-value pairs to associate with this stack set and the stacks created from it.
/// CloudFormation also propagates these tags to supported resources that are created
/// in the stacks. A maximum number of 50 tags can be specified.
/// </para>
///
/// <para>
/// If you specify tags as part of a <code>CreateStackSet</code> action, CloudFormation
/// checks to see if you have the required IAM permission to tag resources. If you don't,
/// the entire <code>CreateStackSet</code> action fails with an <code>access denied</code>
/// error, and the stack set is not created.
/// </para>
/// </summary>
[AWSProperty(Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property TemplateBody.
/// <para>
/// The structure that contains the template body, with a minimum length of 1 byte and
/// a maximum length of 51,200 bytes. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// Anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must specify either the TemplateBody or the TemplateURL parameter,
/// but not both.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
/// <summary>
/// Gets and sets the property TemplateURL.
/// <para>
/// The location of the file that contains the template body. The URL must point to a
/// template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a
/// Systems Manager document. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// Anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must specify either the TemplateBody or the TemplateURL parameter,
/// but not both.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string TemplateURL
{
get { return this._templateURL; }
set { this._templateURL = value; }
}
// Check to see if TemplateURL property is set
internal bool IsSetTemplateURL()
{
return this._templateURL != null;
}
}
}
| 531 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the CreateStackSet operation.
/// </summary>
public partial class CreateStackSetResponse : AmazonWebServiceResponse
{
private string _stackSetId;
/// <summary>
/// Gets and sets the property StackSetId.
/// <para>
/// The ID of the stack set that you're creating.
/// </para>
/// </summary>
public string StackSetId
{
get { return this._stackSetId; }
set { this._stackSetId = value; }
}
// Check to see if StackSetId property is set
internal bool IsSetStackSetId()
{
return this._stackSetId != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeactivateOrganizationsAccess operation.
/// Deactivates trusted access with Organizations. If trusted access is deactivated, the
/// management account does not have permissions to create and manage service-managed
/// StackSets for your organization.
/// </summary>
public partial class DeactivateOrganizationsAccessRequest : AmazonCloudFormationRequest
{
}
}
| 41 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DeactivateOrganizationsAccess operation.
/// </summary>
public partial class DeactivateOrganizationsAccessResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeactivateType operation.
/// Deactivates a public extension that was previously activated in this account and Region.
///
///
/// <para>
/// Once deactivated, an extension can't be used in any CloudFormation operation. This
/// includes stack update operations where the stack template includes the extension,
/// even if no updates are being made to the extension. In addition, deactivated extensions
/// aren't automatically updated if a new version of the extension is released.
/// </para>
/// </summary>
public partial class DeactivateTypeRequest : AmazonCloudFormationRequest
{
private string _arn;
private ThirdPartyType _type;
private string _typeName;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The Amazon Resource Name (ARN) for the extension, in this account and Region.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>Arn</code>, or <code>TypeName</code> and
/// <code>Type</code>.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The extension type.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>Arn</code>, or <code>TypeName</code> and
/// <code>Type</code>.
/// </para>
/// </summary>
public ThirdPartyType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The type name of the extension, in this account and Region. If you specified a type
/// name alias when enabling the extension, use the type name alias.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>Arn</code>, or <code>TypeName</code> and
/// <code>Type</code>.
/// </para>
/// </summary>
[AWSProperty(Min=10, Max=204)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 122 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DeactivateType operation.
/// </summary>
public partial class DeactivateTypeResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeleteChangeSet operation.
/// Deletes the specified change set. Deleting change sets ensures that no one executes
/// the wrong change set.
///
///
/// <para>
/// If the call successfully completes, CloudFormation successfully deleted the change
/// set.
/// </para>
///
/// <para>
/// If <code>IncludeNestedStacks</code> specifies <code>True</code> during the creation
/// of the nested change set, then <code>DeleteChangeSet</code> will delete all change
/// sets that belong to the stacks hierarchy and will also delete all change sets for
/// nested stacks with the status of <code>REVIEW_IN_PROGRESS</code>.
/// </para>
/// </summary>
public partial class DeleteChangeSetRequest : AmazonCloudFormationRequest
{
private string _changeSetName;
private string _stackName;
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name or Amazon Resource Name (ARN) of the change set that you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1600)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// If you specified the name of a change set to delete, specify the stack name or Amazon
/// Resource Name (ARN) that's associated with it.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>DeleteChangeSet</a> action.
/// </summary>
public partial class DeleteChangeSetResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeleteStackInstances operation.
/// Deletes stack instances for the specified accounts, in the specified Amazon Web Services
/// Regions.
/// </summary>
public partial class DeleteStackInstancesRequest : AmazonCloudFormationRequest
{
private List<string> _accounts = new List<string>();
private CallAs _callAs;
private DeploymentTargets _deploymentTargets;
private string _operationId;
private StackSetOperationPreferences _operationPreferences;
private List<string> _regions = new List<string>();
private bool? _retainStacks;
private string _stackSetName;
/// <summary>
/// Gets and sets the property Accounts.
/// <para>
/// [Self-managed permissions] The names of the Amazon Web Services accounts that you
/// want to delete stack instances for.
/// </para>
///
/// <para>
/// You can specify <code>Accounts</code> or <code>DeploymentTargets</code>, but not both.
/// </para>
/// </summary>
public List<string> Accounts
{
get { return this._accounts; }
set { this._accounts = value; }
}
// Check to see if Accounts property is set
internal bool IsSetAccounts()
{
return this._accounts != null && this._accounts.Count > 0;
}
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property DeploymentTargets.
/// <para>
/// [Service-managed permissions] The Organizations accounts from which to delete stack
/// instances.
/// </para>
///
/// <para>
/// You can specify <code>Accounts</code> or <code>DeploymentTargets</code>, but not both.
/// </para>
/// </summary>
public DeploymentTargets DeploymentTargets
{
get { return this._deploymentTargets; }
set { this._deploymentTargets = value; }
}
// Check to see if DeploymentTargets property is set
internal bool IsSetDeploymentTargets()
{
return this._deploymentTargets != null;
}
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique identifier for this stack set operation.
/// </para>
///
/// <para>
/// If you don't specify an operation ID, the SDK generates one automatically.
/// </para>
///
/// <para>
/// The operation ID also functions as an idempotency token, to ensure that CloudFormation
/// performs the stack set operation only once, even if you retry the request multiple
/// times. You can retry stack set operation requests to ensure that CloudFormation successfully
/// received them.
/// </para>
///
/// <para>
/// Repeating this stack set operation with a new operation ID retries all stack instances
/// whose status is <code>OUTDATED</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property OperationPreferences.
/// <para>
/// Preferences for how CloudFormation performs this stack set operation.
/// </para>
/// </summary>
public StackSetOperationPreferences OperationPreferences
{
get { return this._operationPreferences; }
set { this._operationPreferences = value; }
}
// Check to see if OperationPreferences property is set
internal bool IsSetOperationPreferences()
{
return this._operationPreferences != null;
}
/// <summary>
/// Gets and sets the property Regions.
/// <para>
/// The Amazon Web Services Regions where you want to delete stack set instances.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Regions
{
get { return this._regions; }
set { this._regions = value; }
}
// Check to see if Regions property is set
internal bool IsSetRegions()
{
return this._regions != null && this._regions.Count > 0;
}
/// <summary>
/// Gets and sets the property RetainStacks.
/// <para>
/// Removes the stack instances from the specified stack set, but doesn't delete the stacks.
/// You can't reassociate a retained stack or add an existing, saved stack to a new stack
/// set.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options">Stack
/// set operation options</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool RetainStacks
{
get { return this._retainStacks.GetValueOrDefault(); }
set { this._retainStacks = value; }
}
// Check to see if RetainStacks property is set
internal bool IsSetRetainStacks()
{
return this._retainStacks.HasValue;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or unique ID of the stack set that you want to delete stack instances for.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 251 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DeleteStackInstances operation.
/// </summary>
public partial class DeleteStackInstancesResponse : AmazonWebServiceResponse
{
private string _operationId;
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique identifier for this stack set operation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeleteStack operation.
/// Deletes a specified stack. Once the call completes successfully, stack deletion starts.
/// Deleted stacks don't show up in the <a>DescribeStacks</a> operation if the deletion
/// has been completed successfully.
/// </summary>
public partial class DeleteStackRequest : AmazonCloudFormationRequest
{
private string _clientRequestToken;
private List<string> _retainResources = new List<string>();
private string _roleARN;
private string _stackName;
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// A unique identifier for this <code>DeleteStack</code> request. Specify this token
/// if you plan to retry requests so that CloudFormation knows that you're not attempting
/// to delete a stack with the same name. You might retry <code>DeleteStack</code> requests
/// to ensure that CloudFormation successfully received them.
/// </para>
///
/// <para>
/// All events initiated by a given stack operation are assigned the same client request
/// token, which you can use to track operations. For example, if you execute a <code>CreateStack</code>
/// operation with the token <code>token1</code>, then all the <code>StackEvents</code>
/// generated by that operation will have <code>ClientRequestToken</code> set as <code>token1</code>.
/// </para>
///
/// <para>
/// In the console, stack operations display the client request token on the Events tab.
/// Stack operations that are initiated from the console use the token format <i>Console-StackOperation-ID</i>,
/// which helps you easily identify the stack operation . For example, if you create a
/// stack using the console, each stack event would be assigned the same token in the
/// following format: <code>Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property RetainResources.
/// <para>
/// For stacks in the <code>DELETE_FAILED</code> state, a list of resource logical IDs
/// that are associated with the resources you want to retain. During deletion, CloudFormation
/// deletes the stack but doesn't delete the retained resources.
/// </para>
///
/// <para>
/// Retaining resources is useful when you can't delete a resource, such as a non-empty
/// S3 bucket, but you want to delete the stack.
/// </para>
/// </summary>
public List<string> RetainResources
{
get { return this._retainResources; }
set { this._retainResources = value; }
}
// Check to see if RetainResources property is set
internal bool IsSetRetainResources()
{
return this._retainResources != null && this._retainResources.Count > 0;
}
/// <summary>
/// Gets and sets the property RoleARN.
/// <para>
/// The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that
/// CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials
/// to make calls on your behalf.
/// </para>
///
/// <para>
/// If you don't specify a value, CloudFormation uses the role that was previously associated
/// with the stack. If no role is available, CloudFormation uses a temporary session that's
/// generated from your user credentials.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
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;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique stack ID that's associated with the stack.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 153 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DeleteStack operation.
/// </summary>
public partial class DeleteStackResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeleteStackSet operation.
/// Deletes a stack set. Before you can delete a stack set, all its member stack instances
/// must be deleted. For more information about how to complete this, see <a>DeleteStackInstances</a>.
/// </summary>
public partial class DeleteStackSetRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or unique ID of the stack set that you're deleting. You can obtain this value
/// by running <a>ListStackSets</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 102 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DeleteStackSet operation.
/// </summary>
public partial class DeleteStackSetResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// [Service-managed permissions] The Organizations accounts to which StackSets deploys.
/// StackSets doesn't deploy stack instances to the organization management account, even
/// if the organization management account is in your organization or in an OU in your
/// organization.
///
///
/// <para>
/// For update operations, you can specify either <code>Accounts</code> or <code>OrganizationalUnitIds</code>.
/// For create and delete operations, specify <code>OrganizationalUnitIds</code>.
/// </para>
/// </summary>
public partial class DeploymentTargets
{
private AccountFilterType _accountFilterType;
private List<string> _accounts = new List<string>();
private string _accountsUrl;
private List<string> _organizationalUnitIds = new List<string>();
/// <summary>
/// Gets and sets the property AccountFilterType.
/// <para>
/// Limit deployment targets to individual accounts or include additional accounts with
/// provided OUs.
/// </para>
///
/// <para>
/// The following is a list of possible values for the <code>AccountFilterType</code>
/// operation.
/// </para>
/// <ul> <li>
/// <para>
/// <code>INTERSECTION</code>: StackSets deploys to the accounts specified in <code>Accounts</code>
/// parameter.
/// </para>
/// </li> <li>
/// <para>
/// <code>DIFFERENCE</code>: StackSets excludes the accounts specified in <code>Accounts</code>
/// parameter. This enables user to avoid certain accounts within an OU such as suspended
/// accounts.
/// </para>
/// </li> <li>
/// <para>
/// <code>UNION</code>: StackSets includes additional accounts deployment targets.
/// </para>
///
/// <para>
/// This is the default value if <code>AccountFilterType</code> is not provided. This
/// enables user to update an entire OU and individual accounts from a different OU in
/// one request, which used to be two separate requests.
/// </para>
/// </li> <li>
/// <para>
/// <code>NONE</code>: Deploys to all the accounts in specified organizational units
/// (OU).
/// </para>
/// </li> </ul>
/// </summary>
public AccountFilterType AccountFilterType
{
get { return this._accountFilterType; }
set { this._accountFilterType = value; }
}
// Check to see if AccountFilterType property is set
internal bool IsSetAccountFilterType()
{
return this._accountFilterType != null;
}
/// <summary>
/// Gets and sets the property Accounts.
/// <para>
/// The names of one or more Amazon Web Services accounts for which you want to deploy
/// stack set updates.
/// </para>
/// </summary>
public List<string> Accounts
{
get { return this._accounts; }
set { this._accounts = value; }
}
// Check to see if Accounts property is set
internal bool IsSetAccounts()
{
return this._accounts != null && this._accounts.Count > 0;
}
/// <summary>
/// Gets and sets the property AccountsUrl.
/// <para>
/// Returns the value of the <code>AccountsUrl</code> property.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5120)]
public string AccountsUrl
{
get { return this._accountsUrl; }
set { this._accountsUrl = value; }
}
// Check to see if AccountsUrl property is set
internal bool IsSetAccountsUrl()
{
return this._accountsUrl != null;
}
/// <summary>
/// Gets and sets the property OrganizationalUnitIds.
/// <para>
/// The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
/// </para>
/// </summary>
public List<string> OrganizationalUnitIds
{
get { return this._organizationalUnitIds; }
set { this._organizationalUnitIds = value; }
}
// Check to see if OrganizationalUnitIds property is set
internal bool IsSetOrganizationalUnitIds()
{
return this._organizationalUnitIds != null && this._organizationalUnitIds.Count > 0;
}
}
}
| 158 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DeregisterType operation.
/// Marks an extension or extension version as <code>DEPRECATED</code> in the CloudFormation
/// registry, removing it from active use. Deprecated extensions or extension versions
/// cannot be used in CloudFormation operations.
///
///
/// <para>
/// To deregister an entire extension, you must individually deregister all active versions
/// of that extension. If an extension has only a single active version, deregistering
/// that version results in the extension itself being deregistered and marked as deprecated
/// in the registry.
/// </para>
///
/// <para>
/// You can't deregister the default version of an extension if there are other active
/// version of that extension. If you do deregister the default version of an extension,
/// the extension type itself is deregistered as well and marked as deprecated.
/// </para>
///
/// <para>
/// To view the deprecation status of an extension or extension version, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html">DescribeType</a>.
/// </para>
/// </summary>
public partial class DeregisterTypeRequest : AmazonCloudFormationRequest
{
private string _arn;
private RegistryType _type;
private string _typeName;
private string _versionId;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The Amazon Resource Name (ARN) of the extension.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>TypeName</code> and <code>Type</code>,
/// or <code>Arn</code>.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The kind of extension.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>TypeName</code> and <code>Type</code>,
/// or <code>Arn</code>.
/// </para>
/// </summary>
public RegistryType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The name of the extension.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>TypeName</code> and <code>Type</code>,
/// or <code>Arn</code>.
/// </para>
/// </summary>
[AWSProperty(Min=10, Max=204)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
/// <summary>
/// Gets and sets the property VersionId.
/// <para>
/// The ID of a specific version of the extension. The version ID is the value at the
/// end of the Amazon Resource Name (ARN) assigned to the extension version when it is
/// registered.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string VersionId
{
get { return this._versionId; }
set { this._versionId = value; }
}
// Check to see if VersionId property is set
internal bool IsSetVersionId()
{
return this._versionId != null;
}
}
}
| 155 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DeregisterType operation.
/// </summary>
public partial class DeregisterTypeResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeAccountLimits operation.
/// Retrieves your account's CloudFormation limits, such as the maximum number of stacks
/// that you can create in your account. For more information about account limits, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
/// Quotas</a> in the <i>CloudFormation User Guide</i>.
/// </summary>
public partial class DescribeAccountLimitsRequest : AmazonCloudFormationRequest
{
private string _nextToken;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string that identifies the next page of limits that you want to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 62 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>DescribeAccountLimits</a> action.
/// </summary>
public partial class DescribeAccountLimitsResponse : AmazonWebServiceResponse
{
private List<AccountLimit> _accountLimits = new List<AccountLimit>();
private string _nextToken;
/// <summary>
/// Gets and sets the property AccountLimits.
/// <para>
/// An account limit structure that contain a list of CloudFormation account limits and
/// their values.
/// </para>
/// </summary>
public List<AccountLimit> AccountLimits
{
get { return this._accountLimits; }
set { this._accountLimits = value; }
}
// Check to see if AccountLimits property is set
internal bool IsSetAccountLimits()
{
return this._accountLimits != null && this._accountLimits.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the output exceeds 1 MB in size, a string that identifies the next page of limits.
/// If no additional page exists, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeChangeSetHooks operation.
/// Returns hook-related information for the change set and a list of changes that CloudFormation
/// makes when you run the change set.
/// </summary>
public partial class DescribeChangeSetHooksRequest : AmazonCloudFormationRequest
{
private string _changeSetName;
private string _logicalResourceId;
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name or Amazon Resource Name (ARN) of the change set that you want to describe.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1600)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property LogicalResourceId.
/// <para>
/// If specified, lists only the hooks related to the specified <code>LogicalResourceId</code>.
/// </para>
/// </summary>
public string LogicalResourceId
{
get { return this._logicalResourceId; }
set { this._logicalResourceId = value; }
}
// Check to see if LogicalResourceId property is set
internal bool IsSetLogicalResourceId()
{
return this._logicalResourceId != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string, provided by the <code>DescribeChangeSetHooks</code> response output, that
/// identifies the next page of information that you want to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// If you specified the name of a change set, specify the stack name or stack ID (ARN)
/// of the change set you want to describe.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
}
| 121 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeChangeSetHooks operation.
/// </summary>
public partial class DescribeChangeSetHooksResponse : AmazonWebServiceResponse
{
private string _changeSetId;
private string _changeSetName;
private List<ChangeSetHook> _hooks = new List<ChangeSetHook>();
private string _nextToken;
private string _stackId;
private string _stackName;
private ChangeSetHooksStatus _status;
/// <summary>
/// Gets and sets the property ChangeSetId.
/// <para>
/// The change set identifier (stack ID).
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ChangeSetId
{
get { return this._changeSetId; }
set { this._changeSetId = value; }
}
// Check to see if ChangeSetId property is set
internal bool IsSetChangeSetId()
{
return this._changeSetId != null;
}
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The change set name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property Hooks.
/// <para>
/// List of hook objects.
/// </para>
/// </summary>
public List<ChangeSetHook> Hooks
{
get { return this._hooks; }
set { this._hooks = value; }
}
// Check to see if Hooks property is set
internal bool IsSetHooks()
{
return this._hooks != null && this._hooks.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// Pagination token, <code>null</code> or empty if no more results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// The stack identifier (stack ID).
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The stack name.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// Provides the status of the change set hook.
/// </para>
/// </summary>
public ChangeSetHooksStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}
| 174 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeChangeSet operation.
/// Returns the inputs for the change set and a list of changes that CloudFormation will
/// make if you execute the change set. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html">Updating
/// Stacks Using Change Sets</a> in the CloudFormation User Guide.
/// </summary>
public partial class DescribeChangeSetRequest : AmazonCloudFormationRequest
{
private string _changeSetName;
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name or Amazon Resource Name (ARN) of the change set that you want to describe.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1600)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string (provided by the <a>DescribeChangeSet</a> response output) that identifies
/// the next page of information that you want to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// If you specified the name of a change set, specify the stack name or ID (ARN) of the
/// change set you want to describe.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
}
| 103 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>DescribeChangeSet</a> action.
/// </summary>
public partial class DescribeChangeSetResponse : AmazonWebServiceResponse
{
private List<string> _capabilities = new List<string>();
private List<Change> _changes = new List<Change>();
private string _changeSetId;
private string _changeSetName;
private DateTime? _creationTime;
private string _description;
private ExecutionStatus _executionStatus;
private bool? _includeNestedStacks;
private string _nextToken;
private List<string> _notificationARNs = new List<string>();
private OnStackFailure _onStackFailure;
private List<Parameter> _parameters = new List<Parameter>();
private string _parentChangeSetId;
private RollbackConfiguration _rollbackConfiguration;
private string _rootChangeSetId;
private string _stackId;
private string _stackName;
private ChangeSetStatus _status;
private string _statusReason;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property Capabilities.
/// <para>
/// If you execute the change set, the list of capabilities that were explicitly acknowledged
/// when the change set was created.
/// </para>
/// </summary>
public List<string> 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;
}
/// <summary>
/// Gets and sets the property Changes.
/// <para>
/// A list of <code>Change</code> structures that describes the resources CloudFormation
/// changes if you execute the change set.
/// </para>
/// </summary>
public List<Change> Changes
{
get { return this._changes; }
set { this._changes = value; }
}
// Check to see if Changes property is set
internal bool IsSetChanges()
{
return this._changes != null && this._changes.Count > 0;
}
/// <summary>
/// Gets and sets the property ChangeSetId.
/// <para>
/// The Amazon Resource Name (ARN) of the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ChangeSetId
{
get { return this._changeSetId; }
set { this._changeSetId = value; }
}
// Check to see if ChangeSetId property is set
internal bool IsSetChangeSetId()
{
return this._changeSetId != null;
}
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name of the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property CreationTime.
/// <para>
/// The start time when the change set was created, in UTC.
/// </para>
/// </summary>
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the change set.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property ExecutionStatus.
/// <para>
/// If the change set execution status is <code>AVAILABLE</code>, you can execute the
/// change set. If you can't execute the change set, the status indicates why. For example,
/// a change set might be in an <code>UNAVAILABLE</code> state because CloudFormation
/// is still creating it or in an <code>OBSOLETE</code> state because the stack was already
/// updated.
/// </para>
/// </summary>
public ExecutionStatus ExecutionStatus
{
get { return this._executionStatus; }
set { this._executionStatus = value; }
}
// Check to see if ExecutionStatus property is set
internal bool IsSetExecutionStatus()
{
return this._executionStatus != null;
}
/// <summary>
/// Gets and sets the property IncludeNestedStacks.
/// <para>
/// Verifies if <code>IncludeNestedStacks</code> is set to <code>True</code>.
/// </para>
/// </summary>
public bool IncludeNestedStacks
{
get { return this._includeNestedStacks.GetValueOrDefault(); }
set { this._includeNestedStacks = value; }
}
// Check to see if IncludeNestedStacks property is set
internal bool IsSetIncludeNestedStacks()
{
return this._includeNestedStacks.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the output exceeds 1 MB, a string that identifies the next page of changes. If
/// there is no additional page, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property NotificationARNs.
/// <para>
/// The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be
/// associated with the stack if you execute the change set.
/// </para>
/// </summary>
[AWSProperty(Max=5)]
public List<string> 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;
}
/// <summary>
/// Gets and sets the property OnStackFailure.
/// <para>
/// Determines what action will be taken if stack creation fails. When this parameter
/// is specified, the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a>
/// API operation must not be specified. This must be one of these values:
/// </para>
/// <ul> <li>
/// <para>
/// <code>DELETE</code> - Deletes the change set if the stack creation fails. This is
/// only valid when the <code>ChangeSetType</code> parameter is set to <code>CREATE</code>.
/// If the deletion of the stack fails, the status of the stack is <code>DELETE_FAILED</code>.
/// </para>
/// </li> <li>
/// <para>
/// <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent
/// to specifying <code>true</code> for the <code>DisableRollback</code> parameter to
/// the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a>
/// API operation.
/// </para>
/// </li> <li>
/// <para>
/// <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is
/// equivalent to specifying <code>false</code> for the <code>DisableRollback</code> parameter
/// to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a>
/// API operation.
/// </para>
/// </li> </ul>
/// </summary>
public OnStackFailure OnStackFailure
{
get { return this._onStackFailure; }
set { this._onStackFailure = value; }
}
// Check to see if OnStackFailure property is set
internal bool IsSetOnStackFailure()
{
return this._onStackFailure != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// A list of <code>Parameter</code> structures that describes the input parameters and
/// their values used to create the change set. For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html">Parameter</a>
/// data type.
/// </para>
/// </summary>
public List<Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ParentChangeSetId.
/// <para>
/// Specifies the change set ID of the parent change set in the current nested change
/// set hierarchy.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string ParentChangeSetId
{
get { return this._parentChangeSetId; }
set { this._parentChangeSetId = value; }
}
// Check to see if ParentChangeSetId property is set
internal bool IsSetParentChangeSetId()
{
return this._parentChangeSetId != null;
}
/// <summary>
/// Gets and sets the property RollbackConfiguration.
/// <para>
/// The rollback triggers for CloudFormation to monitor during stack creation and updating
/// operations, and for the specified monitoring period afterwards.
/// </para>
/// </summary>
public RollbackConfiguration RollbackConfiguration
{
get { return this._rollbackConfiguration; }
set { this._rollbackConfiguration = value; }
}
// Check to see if RollbackConfiguration property is set
internal bool IsSetRollbackConfiguration()
{
return this._rollbackConfiguration != null;
}
/// <summary>
/// Gets and sets the property RootChangeSetId.
/// <para>
/// Specifies the change set ID of the root change set in the current nested change set
/// hierarchy.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string RootChangeSetId
{
get { return this._rootChangeSetId; }
set { this._rootChangeSetId = value; }
}
// Check to see if RootChangeSetId property is set
internal bool IsSetRootChangeSetId()
{
return this._rootChangeSetId != null;
}
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// The Amazon Resource Name (ARN) of the stack that's associated with the change set.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack that's associated with the change set.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current status of the change set, such as <code>CREATE_IN_PROGRESS</code>, <code>CREATE_COMPLETE</code>,
/// or <code>FAILED</code>.
/// </para>
/// </summary>
public ChangeSetStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
/// <summary>
/// Gets and sets the property StatusReason.
/// <para>
/// A description of the change set's status. For example, if your attempt to create a
/// change set failed, CloudFormation shows the error message.
/// </para>
/// </summary>
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// If you execute the change set, the tags that will be associated with the stack.
/// </para>
/// </summary>
[AWSProperty(Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 464 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeOrganizationsAccess operation.
/// Retrieves information about the account's <code>OrganizationAccess</code> status.
/// This API can be called either by the management account or the delegated administrator
/// by using the <code>CallAs</code> parameter. This API can also be called without the
/// <code>CallAs</code> parameter by the management account.
/// </summary>
public partial class DescribeOrganizationsAccessRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
}
}
| 82 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeOrganizationsAccess operation.
/// </summary>
public partial class DescribeOrganizationsAccessResponse : AmazonWebServiceResponse
{
private OrganizationStatus _status;
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// Presents the status of the <code>OrganizationAccess</code>.
/// </para>
/// </summary>
public OrganizationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribePublisher operation.
/// Returns information about a CloudFormation extension publisher.
///
///
/// <para>
/// If you don't supply a <code>PublisherId</code>, and you have registered as an extension
/// publisher, <code>DescribePublisher</code> returns information about your own publisher
/// account.
/// </para>
///
/// <para>
/// For more information about registering as a publisher, see:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html">RegisterPublisher</a>
///
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html">Publishing
/// extensions to make them available for public use</a> in the <i>CloudFormation CLI
/// User Guide</i>
/// </para>
/// </li> </ul>
/// </summary>
public partial class DescribePublisherRequest : AmazonCloudFormationRequest
{
private string _publisherId;
/// <summary>
/// Gets and sets the property PublisherId.
/// <para>
/// The ID of the extension publisher.
/// </para>
///
/// <para>
/// If you don't supply a <code>PublisherId</code>, and you have registered as an extension
/// publisher, <code>DescribePublisher</code> returns information about your own publisher
/// account.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=40)]
public string PublisherId
{
get { return this._publisherId; }
set { this._publisherId = value; }
}
// Check to see if PublisherId property is set
internal bool IsSetPublisherId()
{
return this._publisherId != null;
}
}
}
| 88 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribePublisher operation.
/// </summary>
public partial class DescribePublisherResponse : AmazonWebServiceResponse
{
private IdentityProvider _identityProvider;
private string _publisherId;
private string _publisherProfile;
private PublisherStatus _publisherStatus;
/// <summary>
/// Gets and sets the property IdentityProvider.
/// <para>
/// The type of account used as the identity provider when registering this publisher
/// with CloudFormation.
/// </para>
/// </summary>
public IdentityProvider IdentityProvider
{
get { return this._identityProvider; }
set { this._identityProvider = value; }
}
// Check to see if IdentityProvider property is set
internal bool IsSetIdentityProvider()
{
return this._identityProvider != null;
}
/// <summary>
/// Gets and sets the property PublisherId.
/// <para>
/// The ID of the extension publisher.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=40)]
public string PublisherId
{
get { return this._publisherId; }
set { this._publisherId = value; }
}
// Check to see if PublisherId property is set
internal bool IsSetPublisherId()
{
return this._publisherId != null;
}
/// <summary>
/// Gets and sets the property PublisherProfile.
/// <para>
/// The URL to the publisher's profile with the identity provider.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string PublisherProfile
{
get { return this._publisherProfile; }
set { this._publisherProfile = value; }
}
// Check to see if PublisherProfile property is set
internal bool IsSetPublisherProfile()
{
return this._publisherProfile != null;
}
/// <summary>
/// Gets and sets the property PublisherStatus.
/// <para>
/// Whether the publisher is verified. Currently, all registered publishers are verified.
/// </para>
/// </summary>
public PublisherStatus PublisherStatus
{
get { return this._publisherStatus; }
set { this._publisherStatus = value; }
}
// Check to see if PublisherStatus property is set
internal bool IsSetPublisherStatus()
{
return this._publisherStatus != null;
}
}
}
| 117 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackDriftDetectionStatus operation.
/// Returns information about a stack drift detection operation. A stack drift detection
/// operation detects whether a stack's actual configuration differs, or has <i>drifted</i>,
/// from its expected configuration, as defined in the stack template and any values specified
/// as template parameters. A stack is considered to have drifted if one or more of its
/// resources have drifted. For more information about stack and resource drift, see <a
/// href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html">Detecting
/// Unregulated Configuration Changes to Stacks and Resources</a>.
///
///
/// <para>
/// Use <a>DetectStackDrift</a> to initiate a stack drift detection operation. <code>DetectStackDrift</code>
/// returns a <code>StackDriftDetectionId</code> you can use to monitor the progress of
/// the operation using <code>DescribeStackDriftDetectionStatus</code>. Once the drift
/// detection operation has completed, use <a>DescribeStackResourceDrifts</a> to return
/// drift information about the stack and its resources.
/// </para>
/// </summary>
public partial class DescribeStackDriftDetectionStatusRequest : AmazonCloudFormationRequest
{
private string _stackDriftDetectionId;
/// <summary>
/// Gets and sets the property StackDriftDetectionId.
/// <para>
/// The ID of the drift detection results of this operation.
/// </para>
///
/// <para>
/// CloudFormation generates new results, with a new drift detection ID, each time this
/// operation is run. However, the number of drift results CloudFormation retains for
/// any given stack, and for how long, may vary.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=36)]
public string StackDriftDetectionId
{
get { return this._stackDriftDetectionId; }
set { this._stackDriftDetectionId = value; }
}
// Check to see if StackDriftDetectionId property is set
internal bool IsSetStackDriftDetectionId()
{
return this._stackDriftDetectionId != null;
}
}
}
| 80 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeStackDriftDetectionStatus operation.
/// </summary>
public partial class DescribeStackDriftDetectionStatusResponse : AmazonWebServiceResponse
{
private StackDriftDetectionStatus _detectionStatus;
private string _detectionStatusReason;
private int? _driftedStackResourceCount;
private string _stackDriftDetectionId;
private StackDriftStatus _stackDriftStatus;
private string _stackId;
private DateTime? _timestamp;
/// <summary>
/// Gets and sets the property DetectionStatus.
/// <para>
/// The status of the stack drift detection operation.
/// </para>
/// <ul> <li>
/// <para>
/// <code>DETECTION_COMPLETE</code>: The stack drift detection operation has successfully
/// completed for all resources in the stack that support drift detection. (Resources
/// that don't currently support stack detection remain unchecked.)
/// </para>
///
/// <para>
/// If you specified logical resource IDs for CloudFormation to use as a filter for the
/// stack drift detection operation, only the resources with those logical IDs are checked
/// for drift.
/// </para>
/// </li> <li>
/// <para>
/// <code>DETECTION_FAILED</code>: The stack drift detection operation has failed for
/// at least one resource in the stack. Results will be available for resources on which
/// CloudFormation successfully completed drift detection.
/// </para>
/// </li> <li>
/// <para>
/// <code>DETECTION_IN_PROGRESS</code>: The stack drift detection operation is currently
/// in progress.
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Required=true)]
public StackDriftDetectionStatus DetectionStatus
{
get { return this._detectionStatus; }
set { this._detectionStatus = value; }
}
// Check to see if DetectionStatus property is set
internal bool IsSetDetectionStatus()
{
return this._detectionStatus != null;
}
/// <summary>
/// Gets and sets the property DetectionStatusReason.
/// <para>
/// The reason the stack drift detection operation has its current status.
/// </para>
/// </summary>
public string DetectionStatusReason
{
get { return this._detectionStatusReason; }
set { this._detectionStatusReason = value; }
}
// Check to see if DetectionStatusReason property is set
internal bool IsSetDetectionStatusReason()
{
return this._detectionStatusReason != null;
}
/// <summary>
/// Gets and sets the property DriftedStackResourceCount.
/// <para>
/// Total number of stack resources that have drifted. This is NULL until the drift detection
/// operation reaches a status of <code>DETECTION_COMPLETE</code>. This value will be
/// 0 for stacks whose drift status is <code>IN_SYNC</code>.
/// </para>
/// </summary>
public int DriftedStackResourceCount
{
get { return this._driftedStackResourceCount.GetValueOrDefault(); }
set { this._driftedStackResourceCount = value; }
}
// Check to see if DriftedStackResourceCount property is set
internal bool IsSetDriftedStackResourceCount()
{
return this._driftedStackResourceCount.HasValue;
}
/// <summary>
/// Gets and sets the property StackDriftDetectionId.
/// <para>
/// The ID of the drift detection results of this operation.
/// </para>
///
/// <para>
/// CloudFormation generates new results, with a new drift detection ID, each time this
/// operation is run. However, the number of reports CloudFormation retains for any given
/// stack, and for how long, may vary.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=36)]
public string StackDriftDetectionId
{
get { return this._stackDriftDetectionId; }
set { this._stackDriftDetectionId = value; }
}
// Check to see if StackDriftDetectionId property is set
internal bool IsSetStackDriftDetectionId()
{
return this._stackDriftDetectionId != null;
}
/// <summary>
/// Gets and sets the property StackDriftStatus.
/// <para>
/// Status of the stack's actual configuration compared to its expected configuration.
/// </para>
/// <ul> <li>
/// <para>
/// <code>DRIFTED</code>: The stack differs from its expected template configuration.
/// A stack is considered to have drifted if one or more of its resources have drifted.
/// </para>
/// </li> <li>
/// <para>
/// <code>NOT_CHECKED</code>: CloudFormation hasn't checked if the stack differs from
/// its expected template configuration.
/// </para>
/// </li> <li>
/// <para>
/// <code>IN_SYNC</code>: The stack's actual configuration matches its expected template
/// configuration.
/// </para>
/// </li> <li>
/// <para>
/// <code>UNKNOWN</code>: This value is reserved for future use.
/// </para>
/// </li> </ul>
/// </summary>
public StackDriftStatus StackDriftStatus
{
get { return this._stackDriftStatus; }
set { this._stackDriftStatus = value; }
}
// Check to see if StackDriftStatus property is set
internal bool IsSetStackDriftStatus()
{
return this._stackDriftStatus != null;
}
/// <summary>
/// Gets and sets the property StackId.
/// <para>
/// The ID of the stack.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
/// <summary>
/// Gets and sets the property Timestamp.
/// <para>
/// Time at which the stack drift detection operation was initiated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime Timestamp
{
get { return this._timestamp.GetValueOrDefault(); }
set { this._timestamp = value; }
}
// Check to see if Timestamp property is set
internal bool IsSetTimestamp()
{
return this._timestamp.HasValue;
}
}
}
| 227 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackEvents operation.
/// Returns all stack related events for a specified stack in reverse chronological order.
/// For more information about a stack's event history, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html">Stacks</a>
/// in the CloudFormation User Guide.
///
/// <note>
/// <para>
/// You can list events for stacks that have failed to create or have been deleted by
/// specifying the unique stack identifier (stack ID).
/// </para>
/// </note>
/// </summary>
public partial class DescribeStackEventsRequest : AmazonCloudFormationRequest
{
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string that identifies the next page of events that you want to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique stack ID that's associated with the stack, which aren't always
/// interchangeable:
/// </para>
/// <ul> <li>
/// <para>
/// Running stacks: You can specify either the stack's name or its unique stack ID.
/// </para>
/// </li> <li>
/// <para>
/// Deleted stacks: You must specify the unique stack ID.
/// </para>
/// </li> </ul>
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
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;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>DescribeStackEvents</a> action.
/// </summary>
public partial class DescribeStackEventsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<StackEvent> _stackEvents = new List<StackEvent>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the output exceeds 1 MB in size, a string that identifies the next page of events.
/// If no additional page exists, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackEvents.
/// <para>
/// A list of <code>StackEvents</code> structures.
/// </para>
/// </summary>
public List<StackEvent> StackEvents
{
get { return this._stackEvents; }
set { this._stackEvents = value; }
}
// Check to see if StackEvents property is set
internal bool IsSetStackEvents()
{
return this._stackEvents != null && this._stackEvents.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackInstance operation.
/// Returns the stack instance that's associated with the specified StackSet, Amazon Web
/// Services account, and Amazon Web Services Region.
///
///
/// <para>
/// For a list of stack instances that are associated with a specific StackSet, use <a>ListStackInstances</a>.
/// </para>
/// </summary>
public partial class DescribeStackInstanceRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _stackInstanceAccount;
private string _stackInstanceRegion;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property StackInstanceAccount.
/// <para>
/// The ID of an Amazon Web Services account that's associated with this stack instance.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackInstanceAccount
{
get { return this._stackInstanceAccount; }
set { this._stackInstanceAccount = value; }
}
// Check to see if StackInstanceAccount property is set
internal bool IsSetStackInstanceAccount()
{
return this._stackInstanceAccount != null;
}
/// <summary>
/// Gets and sets the property StackInstanceRegion.
/// <para>
/// The name of a Region that's associated with this stack instance.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackInstanceRegion
{
get { return this._stackInstanceRegion; }
set { this._stackInstanceRegion = value; }
}
// Check to see if StackInstanceRegion property is set
internal bool IsSetStackInstanceRegion()
{
return this._stackInstanceRegion != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or the unique stack ID of the stack set that you want to get stack instance
/// information for.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 147 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeStackInstance operation.
/// </summary>
public partial class DescribeStackInstanceResponse : AmazonWebServiceResponse
{
private StackInstance _stackInstance;
/// <summary>
/// Gets and sets the property StackInstance.
/// <para>
/// The stack instance that matches the specified request parameters.
/// </para>
/// </summary>
public StackInstance StackInstance
{
get { return this._stackInstance; }
set { this._stackInstance = value; }
}
// Check to see if StackInstance property is set
internal bool IsSetStackInstance()
{
return this._stackInstance != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackResourceDrifts operation.
/// Returns drift information for the resources that have been checked for drift in the
/// specified stack. This includes actual and expected configuration values for resources
/// where CloudFormation detects configuration drift.
///
///
/// <para>
/// For a given stack, there will be one <code>StackResourceDrift</code> for each stack
/// resource that has been checked for drift. Resources that haven't yet been checked
/// for drift aren't included. Resources that don't currently support drift detection
/// aren't checked, and so not included. For a list of resources that support drift detection,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources
/// that Support Drift Detection</a>.
/// </para>
///
/// <para>
/// Use <a>DetectStackResourceDrift</a> to detect drift on individual resources, or <a>DetectStackDrift</a>
/// to detect drift on all supported resources for a given stack.
/// </para>
/// </summary>
public partial class DescribeStackResourceDriftsRequest : AmazonCloudFormationRequest
{
private int? _maxResults;
private string _nextToken;
private string _stackName;
private List<string> _stackResourceDriftStatusFilters = new List<string>();
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to be returned with a single call. If the number of
/// available results exceeds this maximum, the response includes a <code>NextToken</code>
/// value that you can assign to the <code>NextToken</code> request parameter to get the
/// next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string that identifies the next page of stack resource drift results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack for which you want drift information.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
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;
}
/// <summary>
/// Gets and sets the property StackResourceDriftStatusFilters.
/// <para>
/// The resource drift status values to use as filters for the resource drift results
/// returned.
/// </para>
/// <ul> <li>
/// <para>
/// <code>DELETED</code>: The resource differs from its expected template configuration
/// in that the resource has been deleted.
/// </para>
/// </li> <li>
/// <para>
/// <code>MODIFIED</code>: One or more resource properties differ from their expected
/// template values.
/// </para>
/// </li> <li>
/// <para>
/// <code>IN_SYNC</code>: The resource's actual configuration matches its expected template
/// configuration.
/// </para>
/// </li> <li>
/// <para>
/// <code>NOT_CHECKED</code>: CloudFormation doesn't currently return this value.
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Min=1, Max=4)]
public List<string> StackResourceDriftStatusFilters
{
get { return this._stackResourceDriftStatusFilters; }
set { this._stackResourceDriftStatusFilters = value; }
}
// Check to see if StackResourceDriftStatusFilters property is set
internal bool IsSetStackResourceDriftStatusFilters()
{
return this._stackResourceDriftStatusFilters != null && this._stackResourceDriftStatusFilters.Count > 0;
}
}
}
| 160 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeStackResourceDrifts operation.
/// </summary>
public partial class DescribeStackResourceDriftsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<StackResourceDrift> _stackResourceDrifts = new List<StackResourceDrift>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the request doesn't return all the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>DescribeStackResourceDrifts</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter.
/// If the request returns all results, <code>NextToken</code> is set to <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackResourceDrifts.
/// <para>
/// Drift information for the resources that have been checked for drift in the specified
/// stack. This includes actual and expected configuration values for resources where
/// CloudFormation detects drift.
/// </para>
///
/// <para>
/// For a given stack, there will be one <code>StackResourceDrift</code> for each stack
/// resource that has been checked for drift. Resources that haven't yet been checked
/// for drift aren't included. Resources that do not currently support drift detection
/// aren't checked, and so not included. For a list of resources that support drift detection,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources
/// that Support Drift Detection</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<StackResourceDrift> StackResourceDrifts
{
get { return this._stackResourceDrifts; }
set { this._stackResourceDrifts = value; }
}
// Check to see if StackResourceDrifts property is set
internal bool IsSetStackResourceDrifts()
{
return this._stackResourceDrifts != null && this._stackResourceDrifts.Count > 0;
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackResource operation.
/// Returns a description of the specified resource in the specified stack.
///
///
/// <para>
/// For deleted stacks, DescribeStackResource returns resource information for up to 90
/// days after the stack has been deleted.
/// </para>
/// </summary>
public partial class DescribeStackResourceRequest : AmazonCloudFormationRequest
{
private string _logicalResourceId;
private string _stackName;
/// <summary>
/// Gets and sets the property LogicalResourceId.
/// <para>
/// The logical name of the resource as specified in the template.
/// </para>
///
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string LogicalResourceId
{
get { return this._logicalResourceId; }
set { this._logicalResourceId = value; }
}
// Check to see if LogicalResourceId property is set
internal bool IsSetLogicalResourceId()
{
return this._logicalResourceId != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique stack ID that's associated with the stack, which aren't always
/// interchangeable:
/// </para>
/// <ul> <li>
/// <para>
/// Running stacks: You can specify either the stack's name or its unique stack ID.
/// </para>
/// </li> <li>
/// <para>
/// Deleted stacks: You must specify the unique stack ID.
/// </para>
/// </li> </ul>
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 102 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>DescribeStackResource</a> action.
/// </summary>
public partial class DescribeStackResourceResponse : AmazonWebServiceResponse
{
private StackResourceDetail _stackResourceDetail;
/// <summary>
/// Gets and sets the property StackResourceDetail.
/// <para>
/// A <code>StackResourceDetail</code> structure containing the description of the specified
/// resource in the specified stack.
/// </para>
/// </summary>
public StackResourceDetail StackResourceDetail
{
get { return this._stackResourceDetail; }
set { this._stackResourceDetail = value; }
}
// Check to see if StackResourceDetail property is set
internal bool IsSetStackResourceDetail()
{
return this._stackResourceDetail != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackResources operation.
/// Returns Amazon Web Services resource descriptions for running and deleted stacks.
/// If <code>StackName</code> is specified, all the associated resources that are part
/// of the stack are returned. If <code>PhysicalResourceId</code> is specified, the associated
/// resources of the stack that the resource belongs to are returned.
///
/// <note>
/// <para>
/// Only the first 100 resources will be returned. If your stack has more resources than
/// this, you should use <code>ListStackResources</code> instead.
/// </para>
/// </note>
/// <para>
/// For deleted stacks, <code>DescribeStackResources</code> returns resource information
/// for up to 90 days after the stack has been deleted.
/// </para>
///
/// <para>
/// You must specify either <code>StackName</code> or <code>PhysicalResourceId</code>,
/// but not both. In addition, you can specify <code>LogicalResourceId</code> to filter
/// the returned result. For more information about resources, the <code>LogicalResourceId</code>
/// and <code>PhysicalResourceId</code>, go to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/">CloudFormation
/// User Guide</a>.
/// </para>
/// <note>
/// <para>
/// A <code>ValidationError</code> is returned if you specify both <code>StackName</code>
/// and <code>PhysicalResourceId</code> in the same request.
/// </para>
/// </note>
/// </summary>
public partial class DescribeStackResourcesRequest : AmazonCloudFormationRequest
{
private string _logicalResourceId;
private string _physicalResourceId;
private string _stackName;
/// <summary>
/// Gets and sets the property LogicalResourceId.
/// <para>
/// The logical name of the resource as specified in the template.
/// </para>
///
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
public string LogicalResourceId
{
get { return this._logicalResourceId; }
set { this._logicalResourceId = value; }
}
// Check to see if LogicalResourceId property is set
internal bool IsSetLogicalResourceId()
{
return this._logicalResourceId != null;
}
/// <summary>
/// Gets and sets the property PhysicalResourceId.
/// <para>
/// The name or unique identifier that corresponds to a physical instance ID of a resource
/// supported by CloudFormation.
/// </para>
///
/// <para>
/// For example, for an Amazon Elastic Compute Cloud (EC2) instance, <code>PhysicalResourceId</code>
/// corresponds to the <code>InstanceId</code>. You can pass the EC2 <code>InstanceId</code>
/// to <code>DescribeStackResources</code> to find which stack the instance belongs to
/// and what other resources are part of the stack.
/// </para>
///
/// <para>
/// Required: Conditional. If you don't specify <code>PhysicalResourceId</code>, you must
/// specify <code>StackName</code>.
/// </para>
///
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
public string PhysicalResourceId
{
get { return this._physicalResourceId; }
set { this._physicalResourceId = value; }
}
// Check to see if PhysicalResourceId property is set
internal bool IsSetPhysicalResourceId()
{
return this._physicalResourceId != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique stack ID that is associated with the stack, which aren't always
/// interchangeable:
/// </para>
/// <ul> <li>
/// <para>
/// Running stacks: You can specify either the stack's name or its unique stack ID.
/// </para>
/// </li> <li>
/// <para>
/// Deleted stacks: You must specify the unique stack ID.
/// </para>
/// </li> </ul>
/// <para>
/// Default: There is no default value.
/// </para>
///
/// <para>
/// Required: Conditional. If you don't specify <code>StackName</code>, you must specify
/// <code>PhysicalResourceId</code>.
/// </para>
/// </summary>
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;
}
}
}
| 163 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>DescribeStackResources</a> action.
/// </summary>
public partial class DescribeStackResourcesResponse : AmazonWebServiceResponse
{
private List<StackResource> _stackResources = new List<StackResource>();
/// <summary>
/// Gets and sets the property StackResources.
/// <para>
/// A list of <code>StackResource</code> structures.
/// </para>
/// </summary>
public List<StackResource> StackResources
{
get { return this._stackResources; }
set { this._stackResources = value; }
}
// Check to see if StackResources property is set
internal bool IsSetStackResources()
{
return this._stackResources != null && this._stackResources.Count > 0;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackSetOperation operation.
/// Returns the description of the specified StackSet operation.
/// </summary>
public partial class DescribeStackSetOperationRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _operationId;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique ID of the stack set operation.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or the unique stack ID of the stack set for the stack operation.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 120 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeStackSetOperation operation.
/// </summary>
public partial class DescribeStackSetOperationResponse : AmazonWebServiceResponse
{
private StackSetOperation _stackSetOperation;
/// <summary>
/// Gets and sets the property StackSetOperation.
/// <para>
/// The specified stack set operation.
/// </para>
/// </summary>
public StackSetOperation StackSetOperation
{
get { return this._stackSetOperation; }
set { this._stackSetOperation = value; }
}
// Check to see if StackSetOperation property is set
internal bool IsSetStackSetOperation()
{
return this._stackSetOperation != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStackSet operation.
/// Returns the description of the specified StackSet.
/// </summary>
public partial class DescribeStackSetRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or unique ID of the stack set whose description you want.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeStackSet operation.
/// </summary>
public partial class DescribeStackSetResponse : AmazonWebServiceResponse
{
private StackSet _stackSet;
/// <summary>
/// Gets and sets the property StackSet.
/// <para>
/// The specified stack set.
/// </para>
/// </summary>
public StackSet StackSet
{
get { return this._stackSet; }
set { this._stackSet = value; }
}
// Check to see if StackSet property is set
internal bool IsSetStackSet()
{
return this._stackSet != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeStacks operation.
/// Returns the description for the specified stack; if no stack name was specified, then
/// it returns the description for all the stacks created.
///
/// <note>
/// <para>
/// If the stack doesn't exist, an <code>ValidationError</code> is returned.
/// </para>
/// </note>
/// </summary>
public partial class DescribeStacksRequest : AmazonCloudFormationRequest
{
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string that identifies the next page of stacks that you want to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackName. <note>
/// <para>
/// If you don't pass a parameter to <code>StackName</code>, the API returns a response
/// that describes all resources in the account. This requires <code>ListStacks</code>
/// and <code>DescribeStacks</code> permissions.
/// </para>
///
/// <para>
/// The IAM policy below can be added to IAM policies when you want to limit resource-level
/// permissions and avoid returning a response when no parameter is sent in the request:
/// </para>
///
/// <para>
/// { "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks",
/// "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }
/// </para>
/// </note>
/// <para>
/// The name or the unique stack ID that's associated with the stack, which aren't always
/// interchangeable:
/// </para>
/// <ul> <li>
/// <para>
/// Running stacks: You can specify either the stack's name or its unique stack ID.
/// </para>
/// </li> <li>
/// <para>
/// Deleted stacks: You must specify the unique stack ID.
/// </para>
/// </li> </ul>
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
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;
}
}
}
| 114 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>DescribeStacks</a> action.
/// </summary>
public partial class DescribeStacksResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Stack> _stacks = new List<Stack>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Stacks.
/// <para>
/// A list of stack structures.
/// </para>
/// </summary>
public List<Stack> Stacks
{
get { return this._stacks; }
set { this._stacks = value; }
}
// Check to see if Stacks property is set
internal bool IsSetStacks()
{
return this._stacks != null && this._stacks.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeTypeRegistration operation.
/// Returns information about an extension's registration, including its current status
/// and type and version identifiers.
///
///
/// <para>
/// When you initiate a registration request using <a>RegisterType</a>, you can then use
/// <a>DescribeTypeRegistration</a> to monitor the progress of that registration request.
/// </para>
///
/// <para>
/// Once the registration request has completed, use <a>DescribeType</a> to return detailed
/// information about an extension.
/// </para>
/// </summary>
public partial class DescribeTypeRegistrationRequest : AmazonCloudFormationRequest
{
private string _registrationToken;
/// <summary>
/// Gets and sets the property RegistrationToken.
/// <para>
/// The identifier for this registration request.
/// </para>
///
/// <para>
/// This registration token is generated by CloudFormation when you initiate a registration
/// request using <a>RegisterType</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=128)]
public string RegistrationToken
{
get { return this._registrationToken; }
set { this._registrationToken = value; }
}
// Check to see if RegistrationToken property is set
internal bool IsSetRegistrationToken()
{
return this._registrationToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeTypeRegistration operation.
/// </summary>
public partial class DescribeTypeRegistrationResponse : AmazonWebServiceResponse
{
private string _description;
private RegistrationStatus _progressStatus;
private string _typeArn;
private string _typeVersionArn;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the extension registration request.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property ProgressStatus.
/// <para>
/// The current status of the extension registration request.
/// </para>
/// </summary>
public RegistrationStatus ProgressStatus
{
get { return this._progressStatus; }
set { this._progressStatus = value; }
}
// Check to see if ProgressStatus property is set
internal bool IsSetProgressStatus()
{
return this._progressStatus != null;
}
/// <summary>
/// Gets and sets the property TypeArn.
/// <para>
/// The Amazon Resource Name (ARN) of the extension being registered.
/// </para>
///
/// <para>
/// For registration requests with a <code>ProgressStatus</code> of other than <code>COMPLETE</code>,
/// this will be <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string TypeArn
{
get { return this._typeArn; }
set { this._typeArn = value; }
}
// Check to see if TypeArn property is set
internal bool IsSetTypeArn()
{
return this._typeArn != null;
}
/// <summary>
/// Gets and sets the property TypeVersionArn.
/// <para>
/// The Amazon Resource Name (ARN) of this specific version of the extension being registered.
/// </para>
///
/// <para>
/// For registration requests with a <code>ProgressStatus</code> of other than <code>COMPLETE</code>,
/// this will be <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string TypeVersionArn
{
get { return this._typeVersionArn; }
set { this._typeVersionArn = value; }
}
// Check to see if TypeVersionArn property is set
internal bool IsSetTypeVersionArn()
{
return this._typeVersionArn != null;
}
}
}
| 127 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DescribeType operation.
/// Returns detailed information about an extension that has been registered.
///
///
/// <para>
/// If you specify a <code>VersionId</code>, <code>DescribeType</code> returns information
/// about that specific extension version. Otherwise, it returns information about the
/// default extension version.
/// </para>
/// </summary>
public partial class DescribeTypeRequest : AmazonCloudFormationRequest
{
private string _arn;
private string _publicVersionNumber;
private string _publisherId;
private RegistryType _type;
private string _typeName;
private string _versionId;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The Amazon Resource Name (ARN) of the extension.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>TypeName</code> and <code>Type</code>,
/// or <code>Arn</code>.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property PublicVersionNumber.
/// <para>
/// The version number of a public third-party extension.
/// </para>
/// </summary>
[AWSProperty(Min=5)]
public string PublicVersionNumber
{
get { return this._publicVersionNumber; }
set { this._publicVersionNumber = value; }
}
// Check to see if PublicVersionNumber property is set
internal bool IsSetPublicVersionNumber()
{
return this._publicVersionNumber != null;
}
/// <summary>
/// Gets and sets the property PublisherId.
/// <para>
/// The publisher ID of the extension publisher.
/// </para>
///
/// <para>
/// Extensions provided by Amazon Web Services are not assigned a publisher ID.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=40)]
public string PublisherId
{
get { return this._publisherId; }
set { this._publisherId = value; }
}
// Check to see if PublisherId property is set
internal bool IsSetPublisherId()
{
return this._publisherId != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The kind of extension.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>TypeName</code> and <code>Type</code>,
/// or <code>Arn</code>.
/// </para>
/// </summary>
public RegistryType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The name of the extension.
/// </para>
///
/// <para>
/// Conditional: You must specify either <code>TypeName</code> and <code>Type</code>,
/// or <code>Arn</code>.
/// </para>
/// </summary>
[AWSProperty(Min=10, Max=204)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
/// <summary>
/// Gets and sets the property VersionId.
/// <para>
/// The ID of a specific version of the extension. The version ID is the value at the
/// end of the Amazon Resource Name (ARN) assigned to the extension version when it is
/// registered.
/// </para>
///
/// <para>
/// If you specify a <code>VersionId</code>, <code>DescribeType</code> returns information
/// about that specific extension version. Otherwise, it returns information about the
/// default extension version.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string VersionId
{
get { return this._versionId; }
set { this._versionId = value; }
}
// Check to see if VersionId property is set
internal bool IsSetVersionId()
{
return this._versionId != null;
}
}
}
| 192 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DescribeType operation.
/// </summary>
public partial class DescribeTypeResponse : AmazonWebServiceResponse
{
private string _arn;
private bool? _autoUpdate;
private string _configurationSchema;
private string _defaultVersionId;
private DeprecatedStatus _deprecatedStatus;
private string _description;
private string _documentationUrl;
private string _executionRoleArn;
private bool? _isActivated;
private bool? _isDefaultVersion;
private DateTime? _lastUpdated;
private string _latestPublicVersion;
private LoggingConfig _loggingConfig;
private string _originalTypeArn;
private string _originalTypeName;
private ProvisioningType _provisioningType;
private string _publicVersionNumber;
private string _publisherId;
private List<RequiredActivatedType> _requiredActivatedTypes = new List<RequiredActivatedType>();
private string _schema;
private string _sourceUrl;
private DateTime? _timeCreated;
private RegistryType _type;
private string _typeName;
private TypeTestsStatus _typeTestsStatus;
private string _typeTestsStatusDescription;
private Visibility _visibility;
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The Amazon Resource Name (ARN) of the extension.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property AutoUpdate.
/// <para>
/// Whether CloudFormation automatically updates the extension in this account and Region
/// when a new <i>minor</i> version is published by the extension publisher. Major versions
/// released by the publisher must be manually updated. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable">Activating
/// public extensions for use in your account</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </summary>
public bool AutoUpdate
{
get { return this._autoUpdate.GetValueOrDefault(); }
set { this._autoUpdate = value; }
}
// Check to see if AutoUpdate property is set
internal bool IsSetAutoUpdate()
{
return this._autoUpdate.HasValue;
}
/// <summary>
/// Gets and sets the property ConfigurationSchema.
/// <para>
/// A JSON string that represent the current configuration data for the extension in this
/// account and Region.
/// </para>
///
/// <para>
/// To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>.
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-register.html#registry-set-configuration">Configuring
/// extensions at the account level</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=60000)]
public string ConfigurationSchema
{
get { return this._configurationSchema; }
set { this._configurationSchema = value; }
}
// Check to see if ConfigurationSchema property is set
internal bool IsSetConfigurationSchema()
{
return this._configurationSchema != null;
}
/// <summary>
/// Gets and sets the property DefaultVersionId.
/// <para>
/// The ID of the default version of the extension. The default version is used when the
/// extension version isn't specified.
/// </para>
///
/// <para>
/// This applies only to private extensions you have registered in your account. For public
/// extensions, both those provided by Amazon Web Services and published by third parties,
/// CloudFormation returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.
/// </para>
///
/// <para>
/// To set the default version of an extension, use <a>SetTypeDefaultVersion</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string DefaultVersionId
{
get { return this._defaultVersionId; }
set { this._defaultVersionId = value; }
}
// Check to see if DefaultVersionId property is set
internal bool IsSetDefaultVersionId()
{
return this._defaultVersionId != null;
}
/// <summary>
/// Gets and sets the property DeprecatedStatus.
/// <para>
/// The deprecation status of the extension version.
/// </para>
///
/// <para>
/// Valid values include:
/// </para>
/// <ul> <li>
/// <para>
/// <code>LIVE</code>: The extension is activated or registered and can be used in CloudFormation
/// operations, dependent on its provisioning behavior and visibility scope.
/// </para>
/// </li> <li>
/// <para>
/// <code>DEPRECATED</code>: The extension has been deactivated or deregistered and can
/// no longer be used in CloudFormation operations.
/// </para>
/// </li> </ul>
/// <para>
/// For public third-party extensions, CloudFormation returns <code>null</code>.
/// </para>
/// </summary>
public DeprecatedStatus DeprecatedStatus
{
get { return this._deprecatedStatus; }
set { this._deprecatedStatus = value; }
}
// Check to see if DeprecatedStatus property is set
internal bool IsSetDeprecatedStatus()
{
return this._deprecatedStatus != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property DocumentationUrl.
/// <para>
/// The URL of a page providing detailed documentation for this extension.
/// </para>
/// </summary>
[AWSProperty(Max=4096)]
public string DocumentationUrl
{
get { return this._documentationUrl; }
set { this._documentationUrl = value; }
}
// Check to see if DocumentationUrl property is set
internal bool IsSetDocumentationUrl()
{
return this._documentationUrl != null;
}
/// <summary>
/// Gets and sets the property ExecutionRoleArn.
/// <para>
/// The Amazon Resource Name (ARN) of the IAM execution role used to register the extension.
/// This applies only to private extensions you have registered in your account. For more
/// information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.
/// </para>
///
/// <para>
/// If the registered extension calls any Amazon Web Services APIs, you must create an
/// <i> <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM execution
/// role</a> </i> that includes the necessary permissions to call those Amazon Web Services
/// APIs, and provision that execution role in your account. CloudFormation then assumes
/// that execution role to provide your extension with the appropriate credentials.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string ExecutionRoleArn
{
get { return this._executionRoleArn; }
set { this._executionRoleArn = value; }
}
// Check to see if ExecutionRoleArn property is set
internal bool IsSetExecutionRoleArn()
{
return this._executionRoleArn != null;
}
/// <summary>
/// Gets and sets the property IsActivated.
/// <para>
/// Whether the extension is activated in the account and Region.
/// </para>
///
/// <para>
/// This only applies to public third-party extensions. For all other extensions, CloudFormation
/// returns <code>null</code>.
/// </para>
/// </summary>
public bool IsActivated
{
get { return this._isActivated.GetValueOrDefault(); }
set { this._isActivated = value; }
}
// Check to see if IsActivated property is set
internal bool IsSetIsActivated()
{
return this._isActivated.HasValue;
}
/// <summary>
/// Gets and sets the property IsDefaultVersion.
/// <para>
/// Whether the specified extension version is set as the default version.
/// </para>
///
/// <para>
/// This applies only to private extensions you have registered in your account, and extensions
/// published by Amazon Web Services. For public third-party extensions, whether they
/// are activated in your account, CloudFormation returns <code>null</code>.
/// </para>
/// </summary>
public bool IsDefaultVersion
{
get { return this._isDefaultVersion.GetValueOrDefault(); }
set { this._isDefaultVersion = value; }
}
// Check to see if IsDefaultVersion property is set
internal bool IsSetIsDefaultVersion()
{
return this._isDefaultVersion.HasValue;
}
/// <summary>
/// Gets and sets the property LastUpdated.
/// <para>
/// When the specified extension version was registered. This applies only to:
/// </para>
/// <ul> <li>
/// <para>
/// Private extensions you have registered in your account. For more information, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.
/// </para>
/// </li> <li>
/// <para>
/// Public extensions you have activated in your account with auto-update specified. For
/// more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.
/// </para>
/// </li> </ul>
/// </summary>
public DateTime LastUpdated
{
get { return this._lastUpdated.GetValueOrDefault(); }
set { this._lastUpdated = value; }
}
// Check to see if LastUpdated property is set
internal bool IsSetLastUpdated()
{
return this._lastUpdated.HasValue;
}
/// <summary>
/// Gets and sets the property LatestPublicVersion.
/// <para>
/// The latest version of a public extension <i>that is available</i> for use.
/// </para>
///
/// <para>
/// This only applies if you specify a public extension, and you don't specify a version.
/// For all other requests, CloudFormation returns <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Min=5)]
public string LatestPublicVersion
{
get { return this._latestPublicVersion; }
set { this._latestPublicVersion = value; }
}
// Check to see if LatestPublicVersion property is set
internal bool IsSetLatestPublicVersion()
{
return this._latestPublicVersion != null;
}
/// <summary>
/// Gets and sets the property LoggingConfig.
/// <para>
/// Contains logging configuration information for private extensions. This applies only
/// to private extensions you have registered in your account. For public extensions,
/// both those provided by Amazon Web Services and published by third parties, CloudFormation
/// returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.
/// </para>
/// </summary>
public LoggingConfig LoggingConfig
{
get { return this._loggingConfig; }
set { this._loggingConfig = value; }
}
// Check to see if LoggingConfig property is set
internal bool IsSetLoggingConfig()
{
return this._loggingConfig != null;
}
/// <summary>
/// Gets and sets the property OriginalTypeArn.
/// <para>
/// For public extensions that have been activated for this account and Region, the Amazon
/// Resource Name (ARN) of the public extension.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string OriginalTypeArn
{
get { return this._originalTypeArn; }
set { this._originalTypeArn = value; }
}
// Check to see if OriginalTypeArn property is set
internal bool IsSetOriginalTypeArn()
{
return this._originalTypeArn != null;
}
/// <summary>
/// Gets and sets the property OriginalTypeName.
/// <para>
/// For public extensions that have been activated for this account and Region, the type
/// name of the public extension.
/// </para>
///
/// <para>
/// If you specified a <code>TypeNameAlias</code> when enabling the extension in this
/// account and Region, CloudFormation treats that alias as the extension's type name
/// within the account and Region, not the type name of the public extension. For more
/// information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias">Specifying
/// aliases to refer to extensions</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Min=10, Max=204)]
public string OriginalTypeName
{
get { return this._originalTypeName; }
set { this._originalTypeName = value; }
}
// Check to see if OriginalTypeName property is set
internal bool IsSetOriginalTypeName()
{
return this._originalTypeName != null;
}
/// <summary>
/// Gets and sets the property ProvisioningType.
/// <para>
/// For resource type extensions, the provisioning behavior of the resource type. CloudFormation
/// determines the provisioning type during registration, based on the types of handlers
/// in the schema handler package submitted.
/// </para>
///
/// <para>
/// Valid values include:
/// </para>
/// <ul> <li>
/// <para>
/// <code>FULLY_MUTABLE</code>: The resource type includes an update handler to process
/// updates to the type during stack update operations.
/// </para>
/// </li> <li>
/// <para>
/// <code>IMMUTABLE</code>: The resource type doesn't include an update handler, so the
/// type can't be updated and must instead be replaced during stack update operations.
/// </para>
/// </li> <li>
/// <para>
/// <code>NON_PROVISIONABLE</code>: The resource type doesn't include all the following
/// handlers, and therefore can't actually be provisioned.
/// </para>
/// <ul> <li>
/// <para>
/// create
/// </para>
/// </li> <li>
/// <para>
/// read
/// </para>
/// </li> <li>
/// <para>
/// delete
/// </para>
/// </li> </ul> </li> </ul>
/// </summary>
public ProvisioningType ProvisioningType
{
get { return this._provisioningType; }
set { this._provisioningType = value; }
}
// Check to see if ProvisioningType property is set
internal bool IsSetProvisioningType()
{
return this._provisioningType != null;
}
/// <summary>
/// Gets and sets the property PublicVersionNumber.
/// <para>
/// The version number of a public third-party extension.
/// </para>
///
/// <para>
/// This applies only if you specify a public extension you have activated in your account,
/// or specify a public extension without specifying a version. For all other extensions,
/// CloudFormation returns <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Min=5)]
public string PublicVersionNumber
{
get { return this._publicVersionNumber; }
set { this._publicVersionNumber = value; }
}
// Check to see if PublicVersionNumber property is set
internal bool IsSetPublicVersionNumber()
{
return this._publicVersionNumber != null;
}
/// <summary>
/// Gets and sets the property PublisherId.
/// <para>
/// The publisher ID of the extension publisher.
/// </para>
///
/// <para>
/// This applies only to public third-party extensions. For private registered extensions,
/// and extensions provided by Amazon Web Services, CloudFormation returns <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=40)]
public string PublisherId
{
get { return this._publisherId; }
set { this._publisherId = value; }
}
// Check to see if PublisherId property is set
internal bool IsSetPublisherId()
{
return this._publisherId != null;
}
/// <summary>
/// Gets and sets the property RequiredActivatedTypes.
/// <para>
/// For extensions that are modules, the public third-party extensions that must be activated
/// in your account in order for the module itself to be activated.
/// </para>
/// </summary>
public List<RequiredActivatedType> RequiredActivatedTypes
{
get { return this._requiredActivatedTypes; }
set { this._requiredActivatedTypes = value; }
}
// Check to see if RequiredActivatedTypes property is set
internal bool IsSetRequiredActivatedTypes()
{
return this._requiredActivatedTypes != null && this._requiredActivatedTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property Schema.
/// <para>
/// The schema that defines the extension.
/// </para>
///
/// <para>
/// For more information about extension schemas, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource
/// Provider Schema</a> in the <i>CloudFormation CLI User Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=16777216)]
public string Schema
{
get { return this._schema; }
set { this._schema = value; }
}
// Check to see if Schema property is set
internal bool IsSetSchema()
{
return this._schema != null;
}
/// <summary>
/// Gets and sets the property SourceUrl.
/// <para>
/// The URL of the source code for the extension.
/// </para>
/// </summary>
[AWSProperty(Max=4096)]
public string SourceUrl
{
get { return this._sourceUrl; }
set { this._sourceUrl = value; }
}
// Check to see if SourceUrl property is set
internal bool IsSetSourceUrl()
{
return this._sourceUrl != null;
}
/// <summary>
/// Gets and sets the property TimeCreated.
/// <para>
/// When the specified private extension version was registered or activated in your account.
/// </para>
/// </summary>
public DateTime TimeCreated
{
get { return this._timeCreated.GetValueOrDefault(); }
set { this._timeCreated = value; }
}
// Check to see if TimeCreated property is set
internal bool IsSetTimeCreated()
{
return this._timeCreated.HasValue;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The kind of extension.
/// </para>
/// </summary>
public RegistryType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The name of the extension.
/// </para>
///
/// <para>
/// If the extension is a public third-party type you have activated with a type name
/// alias, CloudFormation returns the type name alias. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.
/// </para>
/// </summary>
[AWSProperty(Min=10, Max=204)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
/// <summary>
/// Gets and sets the property TypeTestsStatus.
/// <para>
/// The contract test status of the registered extension version. To return the extension
/// test status of a specific extension version, you must specify <code>VersionId</code>.
/// </para>
///
/// <para>
/// This applies only to registered private extension versions. CloudFormation doesn't
/// return this information for public extensions, whether they are activated in your
/// account.
/// </para>
/// <ul> <li>
/// <para>
/// <code>PASSED</code>: The extension has passed all its contract tests.
/// </para>
///
/// <para>
/// An extension must have a test status of <code>PASSED</code> before it can be published.
/// For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html">Publishing
/// extensions to make them available for public use</a> in the <i>CloudFormation Command
/// Line Interface User Guide</i>.
/// </para>
/// </li> <li>
/// <para>
/// <code>FAILED</code>: The extension has failed one or more contract tests.
/// </para>
/// </li> <li>
/// <para>
/// <code>IN_PROGRESS</code>: Contract tests are currently being performed on the extension.
/// </para>
/// </li> <li>
/// <para>
/// <code>NOT_TESTED</code>: Contract tests haven't been performed on the extension.
/// </para>
/// </li> </ul>
/// </summary>
public TypeTestsStatus TypeTestsStatus
{
get { return this._typeTestsStatus; }
set { this._typeTestsStatus = value; }
}
// Check to see if TypeTestsStatus property is set
internal bool IsSetTypeTestsStatus()
{
return this._typeTestsStatus != null;
}
/// <summary>
/// Gets and sets the property TypeTestsStatusDescription.
/// <para>
/// The description of the test status. To return the extension test status of a specific
/// extension version, you must specify <code>VersionId</code>.
/// </para>
///
/// <para>
/// This applies only to registered private extension versions. CloudFormation doesn't
/// return this information for public extensions, whether they are activated in your
/// account.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string TypeTestsStatusDescription
{
get { return this._typeTestsStatusDescription; }
set { this._typeTestsStatusDescription = value; }
}
// Check to see if TypeTestsStatusDescription property is set
internal bool IsSetTypeTestsStatusDescription()
{
return this._typeTestsStatusDescription != null;
}
/// <summary>
/// Gets and sets the property Visibility.
/// <para>
/// The scope at which the extension is visible and usable in CloudFormation operations.
/// </para>
///
/// <para>
/// Valid values include:
/// </para>
/// <ul> <li>
/// <para>
/// <code>PRIVATE</code>: The extension is only visible and usable within the account
/// in which it is registered. CloudFormation marks any extensions you register as <code>PRIVATE</code>.
/// </para>
/// </li> <li>
/// <para>
/// <code>PUBLIC</code>: The extension is publicly visible and usable within any Amazon
/// Web Services account.
/// </para>
/// </li> </ul>
/// </summary>
public Visibility Visibility
{
get { return this._visibility; }
set { this._visibility = value; }
}
// Check to see if Visibility property is set
internal bool IsSetVisibility()
{
return this._visibility != null;
}
}
}
| 764 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DetectStackDrift operation.
/// Detects whether a stack's actual configuration differs, or has <i>drifted</i>, from
/// its expected configuration, as defined in the stack template and any values specified
/// as template parameters. For each resource in the stack that supports drift detection,
/// CloudFormation compares the actual configuration of the resource with its expected
/// template configuration. Only resource properties explicitly defined in the stack template
/// are checked for drift. A stack is considered to have drifted if one or more of its
/// resources differ from their expected template configurations. For more information,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html">Detecting
/// Unregulated Configuration Changes to Stacks and Resources</a>.
///
///
/// <para>
/// Use <code>DetectStackDrift</code> to detect drift on all supported resources for a
/// given stack, or <a>DetectStackResourceDrift</a> to detect drift on individual resources.
/// </para>
///
/// <para>
/// For a list of stack resources that currently support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources
/// that Support Drift Detection</a>.
/// </para>
///
/// <para>
/// <code>DetectStackDrift</code> can take up to several minutes, depending on the number
/// of resources contained within the stack. Use <a>DescribeStackDriftDetectionStatus</a>
/// to monitor the progress of a detect stack drift operation. Once the drift detection
/// operation has completed, use <a>DescribeStackResourceDrifts</a> to return drift information
/// about the stack and its resources.
/// </para>
///
/// <para>
/// When detecting drift on a stack, CloudFormation doesn't detect drift on any nested
/// stacks belonging to that stack. Perform <code>DetectStackDrift</code> directly on
/// the nested stack itself.
/// </para>
/// </summary>
public partial class DetectStackDriftRequest : AmazonCloudFormationRequest
{
private List<string> _logicalResourceIds = new List<string>();
private string _stackName;
/// <summary>
/// Gets and sets the property LogicalResourceIds.
/// <para>
/// The logical names of any resources you want to use as filters.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public List<string> LogicalResourceIds
{
get { return this._logicalResourceIds; }
set { this._logicalResourceIds = value; }
}
// Check to see if LogicalResourceIds property is set
internal bool IsSetLogicalResourceIds()
{
return this._logicalResourceIds != null && this._logicalResourceIds.Count > 0;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack for which you want to detect drift.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
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;
}
}
}
| 112 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DetectStackDrift operation.
/// </summary>
public partial class DetectStackDriftResponse : AmazonWebServiceResponse
{
private string _stackDriftDetectionId;
/// <summary>
/// Gets and sets the property StackDriftDetectionId.
/// <para>
/// The ID of the drift detection results of this operation.
/// </para>
///
/// <para>
/// CloudFormation generates new results, with a new drift detection ID, each time this
/// operation is run. However, the number of drift results CloudFormation retains for
/// any given stack, and for how long, may vary.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=36)]
public string StackDriftDetectionId
{
get { return this._stackDriftDetectionId; }
set { this._stackDriftDetectionId = value; }
}
// Check to see if StackDriftDetectionId property is set
internal bool IsSetStackDriftDetectionId()
{
return this._stackDriftDetectionId != null;
}
}
}
| 64 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DetectStackResourceDrift operation.
/// Returns information about whether a resource's actual configuration differs, or has
/// <i>drifted</i>, from its expected configuration, as defined in the stack template
/// and any values specified as template parameters. This information includes actual
/// and expected property values for resources in which CloudFormation detects drift.
/// Only resource properties explicitly defined in the stack template are checked for
/// drift. For more information about stack and resource drift, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html">Detecting
/// Unregulated Configuration Changes to Stacks and Resources</a>.
///
///
/// <para>
/// Use <code>DetectStackResourceDrift</code> to detect drift on individual resources,
/// or <a>DetectStackDrift</a> to detect drift on all resources in a given stack that
/// support drift detection.
/// </para>
///
/// <para>
/// Resources that don't currently support drift detection can't be checked. For a list
/// of resources that support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources
/// that Support Drift Detection</a>.
/// </para>
/// </summary>
public partial class DetectStackResourceDriftRequest : AmazonCloudFormationRequest
{
private string _logicalResourceId;
private string _stackName;
/// <summary>
/// Gets and sets the property LogicalResourceId.
/// <para>
/// The logical name of the resource for which to return drift information.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string LogicalResourceId
{
get { return this._logicalResourceId; }
set { this._logicalResourceId = value; }
}
// Check to see if LogicalResourceId property is set
internal bool IsSetLogicalResourceId()
{
return this._logicalResourceId != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name of the stack to which the resource belongs.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
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;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DetectStackResourceDrift operation.
/// </summary>
public partial class DetectStackResourceDriftResponse : AmazonWebServiceResponse
{
private StackResourceDrift _stackResourceDrift;
/// <summary>
/// Gets and sets the property StackResourceDrift.
/// <para>
/// Information about whether the resource's actual configuration has drifted from its
/// expected template configuration, including actual and expected property values and
/// any differences detected.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StackResourceDrift StackResourceDrift
{
get { return this._stackResourceDrift; }
set { this._stackResourceDrift = value; }
}
// Check to see if StackResourceDrift property is set
internal bool IsSetStackResourceDrift()
{
return this._stackResourceDrift != null;
}
}
}
| 60 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the DetectStackSetDrift operation.
/// 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">How
/// CloudFormation performs drift detection on a stack set</a>.
///
///
/// <para>
/// <code>DetectStackSetDrift</code> returns the <code>OperationId</code> of the stack
/// set drift detection operation. Use this operation id with <a>DescribeStackSetOperation</a>
/// 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, in addition to the number of resources included in each stack.
/// </para>
///
/// <para>
/// Once the operation has completed, use the following actions to return drift information:
/// </para>
/// <ul> <li>
/// <para>
/// Use <a>DescribeStackSet</a> to return detailed information about the stack set, including
/// detailed information about the last <i>completed</i> drift operation performed on
/// the stack set. (Information about drift operations that are in progress isn't included.)
/// </para>
/// </li> <li>
/// <para>
/// Use <a>ListStackInstances</a> to return a list of stack instances belonging to the
/// stack set, including the drift status and last drift time checked of each instance.
/// </para>
/// </li> <li>
/// <para>
/// Use <a>DescribeStackInstance</a> to return detailed information about a specific stack
/// instance, including its drift status and last drift time checked.
/// </para>
/// </li> </ul>
/// <para>
/// For more information about performing a drift detection operation on a stack set,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">Detecting
/// unmanaged changes in stack sets</a>.
/// </para>
///
/// <para>
/// You can only run a single drift detection operation on a given stack set at one time.
/// </para>
///
/// <para>
/// To stop a drift detection stack set operation, use <a>StopStackSetOperation</a>.
/// </para>
/// </summary>
public partial class DetectStackSetDriftRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _operationId;
private StackSetOperationPreferences _operationPreferences;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// <i>The ID of the stack set operation.</i>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property OperationPreferences.
/// <para>
/// The user-specified preferences for how CloudFormation performs a stack set operation.
/// </para>
///
/// <para>
/// For more information about maximum concurrent accounts and failure tolerance, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options">Stack
/// set operation options</a>.
/// </para>
/// </summary>
public StackSetOperationPreferences OperationPreferences
{
get { return this._operationPreferences; }
set { this._operationPreferences = value; }
}
// Check to see if OperationPreferences property is set
internal bool IsSetOperationPreferences()
{
return this._operationPreferences != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name of the stack set on which to perform the drift detection operation.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 191 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the DetectStackSetDrift operation.
/// </summary>
public partial class DetectStackSetDriftResponse : AmazonWebServiceResponse
{
private string _operationId;
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The ID of the drift detection stack set operation.
/// </para>
///
/// <para>
/// You can use this operation ID with <a>DescribeStackSetOperation</a> to monitor the
/// progress of the drift detection operation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
}
}
| 63 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the EstimateTemplateCost operation.
/// Returns the estimated monthly cost of a template. The return value is an Amazon Web
/// Services Simple Monthly Calculator URL with a query string that describes the resources
/// required to run the template.
/// </summary>
public partial class EstimateTemplateCostRequest : AmazonCloudFormationRequest
{
private List<Parameter> _parameters = new List<Parameter>();
private string _templateBody;
private string _templateURL;
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// A list of <code>Parameter</code> structures that specify input parameters.
/// </para>
/// </summary>
public List<Parameter> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property TemplateBody.
/// <para>
/// Structure containing the template body with a minimum length of 1 byte and a maximum
/// length of 51,200 bytes. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// Anatomy</a> in the CloudFormation User Guide.)
/// </para>
///
/// <para>
/// Conditional: You must pass <code>TemplateBody</code> or <code>TemplateURL</code>.
/// If both are passed, only <code>TemplateBody</code> is used.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
/// <summary>
/// Gets and sets the property TemplateURL.
/// <para>
/// Location of file containing the template body. The URL must point to a template that's
/// located in an Amazon S3 bucket or a Systems Manager document. For more information,
/// go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// Anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>.
/// If both are passed, only <code>TemplateBody</code> is used.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string TemplateURL
{
get { return this._templateURL; }
set { this._templateURL = value; }
}
// Check to see if TemplateURL property is set
internal bool IsSetTemplateURL()
{
return this._templateURL != null;
}
}
}
| 115 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for a <a>EstimateTemplateCost</a> action.
/// </summary>
public partial class EstimateTemplateCostResponse : AmazonWebServiceResponse
{
private string _url;
/// <summary>
/// Gets and sets the property Url.
/// <para>
/// An Amazon Web Services Simple Monthly Calculator URL with a query string that describes
/// the resources required to run the template.
/// </para>
/// </summary>
public string Url
{
get { return this._url; }
set { this._url = value; }
}
// Check to see if Url property is set
internal bool IsSetUrl()
{
return this._url != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ExecuteChangeSet operation.
/// Updates a stack using the input information that was provided when the specified change
/// set was created. After the call successfully completes, CloudFormation starts updating
/// the stack. Use the <a>DescribeStacks</a> action to view the status of the update.
///
///
/// <para>
/// When you execute a change set, CloudFormation deletes all other change sets associated
/// with the stack because they aren't valid for the updated stack.
/// </para>
///
/// <para>
/// If a stack policy is associated with the stack, CloudFormation enforces the policy
/// during the update. You can't specify a temporary stack policy that overrides the current
/// policy.
/// </para>
///
/// <para>
/// To create a change set for the entire stack hierarchy, <code>IncludeNestedStacks</code>
/// must have been set to <code>True</code>.
/// </para>
/// </summary>
public partial class ExecuteChangeSetRequest : AmazonCloudFormationRequest
{
private string _changeSetName;
private string _clientRequestToken;
private bool? _disableRollback;
private string _stackName;
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name or Amazon Resource Name (ARN) of the change set that you want use to update
/// the specified stack.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1600)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// A unique identifier for this <code>ExecuteChangeSet</code> request. Specify this token
/// if you plan to retry requests so that CloudFormation knows that you're not attempting
/// to execute a change set to update a stack with the same name. You might retry <code>ExecuteChangeSet</code>
/// requests to ensure that CloudFormation successfully received them.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property DisableRollback.
/// <para>
/// Preserves the state of previously provisioned resources when an operation fails. This
/// parameter can't be specified when the <code>OnStackFailure</code> parameter to the
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a>
/// API operation was specified.
/// </para>
/// <ul> <li>
/// <para>
/// <code>True</code> - if the stack creation fails, do nothing. This is equivalent to
/// specifying <code>DO_NOTHING</code> for the <code>OnStackFailure</code> parameter to
/// the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a>
/// API operation.
/// </para>
/// </li> <li>
/// <para>
/// <code>False</code> - if the stack creation fails, roll back the stack. This is equivalent
/// to specifying <code>ROLLBACK</code> for the <code>OnStackFailure</code> parameter
/// to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a>
/// API operation.
/// </para>
/// </li> </ul>
/// <para>
/// Default: <code>True</code>
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// If you specified the name of a change set, specify the stack name or Amazon Resource
/// Name (ARN) that's associated with the change set you want to execute.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
}
}
| 163 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>ExecuteChangeSet</a> action.
/// </summary>
public partial class ExecuteChangeSetResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The <code>Export</code> structure describes the exported output values for a stack.
/// </summary>
public partial class Export
{
private string _exportingStackId;
private string _name;
private string _value;
/// <summary>
/// Gets and sets the property ExportingStackId.
/// <para>
/// The stack that contains the exported output name and value.
/// </para>
/// </summary>
public string ExportingStackId
{
get { return this._exportingStackId; }
set { this._exportingStackId = value; }
}
// Check to see if ExportingStackId property is set
internal bool IsSetExportingStackId()
{
return this._exportingStackId != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of exported output value. Use this name and the <code>Fn::ImportValue</code>
/// function to import the associated value into other stacks. The name is defined in
/// the <code>Export</code> field in the associated stack's <code>Outputs</code> section.
/// </para>
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of the exported output, such as a resource physical ID. This value is defined
/// in the <code>Export</code> field in the associated stack's <code>Outputs</code> section.
/// </para>
/// </summary>
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the GetStackPolicy operation.
/// Returns the stack policy for a specified stack. If a stack doesn't have a policy,
/// a null value is returned.
/// </summary>
public partial class GetStackPolicyRequest : AmazonCloudFormationRequest
{
private string _stackName;
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or unique stack ID that's associated with the stack whose policy you want
/// to get.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 61 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>GetStackPolicy</a> action.
/// </summary>
public partial class GetStackPolicyResponse : AmazonWebServiceResponse
{
private string _stackPolicyBody;
/// <summary>
/// Gets and sets the property StackPolicyBody.
/// <para>
/// Structure containing the stack policy body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html">
/// Prevent Updates to Stack Resources</a> in the CloudFormation User Guide.)
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=16384)]
public string StackPolicyBody
{
get { return this._stackPolicyBody; }
set { this._stackPolicyBody = value; }
}
// Check to see if StackPolicyBody property is set
internal bool IsSetStackPolicyBody()
{
return this._stackPolicyBody != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the GetTemplate operation.
/// Returns the template body for a specified stack. You can get the template for running
/// or deleted stacks.
///
///
/// <para>
/// For deleted stacks, <code>GetTemplate</code> returns the template for up to 90 days
/// after the stack has been deleted.
/// </para>
/// <note>
/// <para>
/// If the template doesn't exist, a <code>ValidationError</code> is returned.
/// </para>
/// </note>
/// </summary>
public partial class GetTemplateRequest : AmazonCloudFormationRequest
{
private string _changeSetName;
private string _stackName;
private TemplateStage _templateStage;
/// <summary>
/// Gets and sets the property ChangeSetName.
/// <para>
/// The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns
/// the associated template. If you specify a name, you must also specify the <code>StackName</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1600)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the unique stack ID that's associated with the stack, which aren't always
/// interchangeable:
/// </para>
/// <ul> <li>
/// <para>
/// Running stacks: You can specify either the stack's name or its unique stack ID.
/// </para>
/// </li> <li>
/// <para>
/// Deleted stacks: You must specify the unique stack ID.
/// </para>
/// </li> </ul>
/// <para>
/// Default: There is no default value.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property TemplateStage.
/// <para>
/// For templates that include transforms, the stage of the template that CloudFormation
/// returns. To get the user-submitted template, specify <code>Original</code>. To get
/// the template after CloudFormation has processed all transforms, specify <code>Processed</code>.
/// </para>
///
/// <para>
/// If the template doesn't include transforms, <code>Original</code> and <code>Processed</code>
/// return the same template. By default, CloudFormation specifies <code>Processed</code>.
/// </para>
/// </summary>
public TemplateStage TemplateStage
{
get { return this._templateStage; }
set { this._templateStage = value; }
}
// Check to see if TemplateStage property is set
internal bool IsSetTemplateStage()
{
return this._templateStage != null;
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for <a>GetTemplate</a> action.
/// </summary>
public partial class GetTemplateResponse : AmazonWebServiceResponse
{
private List<string> _stagesAvailable = new List<string>();
private string _templateBody;
/// <summary>
/// Gets and sets the property StagesAvailable.
/// <para>
/// The stage of the template that you can retrieve. For stacks, the <code>Original</code>
/// and <code>Processed</code> templates are always available. For change sets, the <code>Original</code>
/// template is always available. After CloudFormation finishes creating the change set,
/// the <code>Processed</code> template becomes available.
/// </para>
/// </summary>
public List<string> StagesAvailable
{
get { return this._stagesAvailable; }
set { this._stagesAvailable = value; }
}
// Check to see if StagesAvailable property is set
internal bool IsSetStagesAvailable()
{
return this._stagesAvailable != null && this._stagesAvailable.Count > 0;
}
/// <summary>
/// Gets and sets the property TemplateBody.
/// <para>
/// Structure containing the template body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// Anatomy</a> in the CloudFormation User Guide.)
/// </para>
///
/// <para>
/// CloudFormation returns the same template that was used when the stack was created.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
}
}
| 85 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the GetTemplateSummary operation.
/// Returns information about a new or existing template. The <code>GetTemplateSummary</code>
/// action is useful for viewing parameter information, such as default parameter values
/// and parameter types, before you create or update a stack or stack set.
///
///
/// <para>
/// You can use the <code>GetTemplateSummary</code> action when you submit a template,
/// or you can get template information for a stack set, or a running or deleted stack.
/// </para>
///
/// <para>
/// For deleted stacks, <code>GetTemplateSummary</code> returns the template information
/// for up to 90 days after the stack has been deleted. If the template doesn't exist,
/// a <code>ValidationError</code> is returned.
/// </para>
/// </summary>
public partial class GetTemplateSummaryRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _stackName;
private string _stackSetName;
private string _templateBody;
private string _templateURL;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the stack ID that's associated with the stack, which aren't always interchangeable.
/// For running stacks, you can specify either the stack's name or its unique stack ID.
/// For deleted stack, you must specify the unique stack ID.
/// </para>
///
/// <para>
/// Conditional: You must specify only one of the following parameters: <code>StackName</code>,
/// <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
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;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or unique ID of the stack set from which the stack was created.
/// </para>
///
/// <para>
/// Conditional: You must specify only one of the following parameters: <code>StackName</code>,
/// <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.
/// </para>
/// </summary>
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
/// <summary>
/// Gets and sets the property TemplateBody.
/// <para>
/// Structure containing the template body with a minimum length of 1 byte and a maximum
/// length of 51,200 bytes. For more information about templates, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must specify only one of the following parameters: <code>StackName</code>,
/// <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
/// <summary>
/// Gets and sets the property TemplateURL.
/// <para>
/// Location of file containing the template body. The URL must point to a template (max
/// size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document.
/// For more information about templates, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
/// anatomy</a> in the CloudFormation User Guide.
/// </para>
///
/// <para>
/// Conditional: You must specify only one of the following parameters: <code>StackName</code>,
/// <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string TemplateURL
{
get { return this._templateURL; }
set { this._templateURL = value; }
}
// Check to see if TemplateURL property is set
internal bool IsSetTemplateURL()
{
return this._templateURL != null;
}
}
}
| 200 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>GetTemplateSummary</a> action.
/// </summary>
public partial class GetTemplateSummaryResponse : AmazonWebServiceResponse
{
private List<string> _capabilities = new List<string>();
private string _capabilitiesReason;
private List<string> _declaredTransforms = new List<string>();
private string _description;
private string _metadata;
private List<ParameterDeclaration> _parameters = new List<ParameterDeclaration>();
private List<ResourceIdentifierSummary> _resourceIdentifierSummaries = new List<ResourceIdentifierSummary>();
private List<string> _resourceTypes = new List<string>();
private string _version;
/// <summary>
/// Gets and sets the property Capabilities.
/// <para>
/// The capabilities found within the template. If your template contains IAM resources,
/// you must specify the <code>CAPABILITY_IAM</code> or <code>CAPABILITY_NAMED_IAM</code>
/// value for this parameter when you use the <a>CreateStack</a> or <a>UpdateStack</a>
/// actions with your template; otherwise, those actions return an <code>InsufficientCapabilities</code>
/// error.
/// </para>
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging
/// IAM Resources in CloudFormation Templates</a>.
/// </para>
/// </summary>
public List<string> 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;
}
/// <summary>
/// Gets and sets the property CapabilitiesReason.
/// <para>
/// The list of resources that generated the values in the <code>Capabilities</code> response
/// element.
/// </para>
/// </summary>
public string CapabilitiesReason
{
get { return this._capabilitiesReason; }
set { this._capabilitiesReason = value; }
}
// Check to see if CapabilitiesReason property is set
internal bool IsSetCapabilitiesReason()
{
return this._capabilitiesReason != null;
}
/// <summary>
/// Gets and sets the property DeclaredTransforms.
/// <para>
/// A list of the transforms that are declared in the template.
/// </para>
/// </summary>
public List<string> DeclaredTransforms
{
get { return this._declaredTransforms; }
set { this._declaredTransforms = value; }
}
// Check to see if DeclaredTransforms property is set
internal bool IsSetDeclaredTransforms()
{
return this._declaredTransforms != null && this._declaredTransforms.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The value that's defined in the <code>Description</code> property of the template.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
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;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The value that's defined for the <code>Metadata</code> property of the template.
/// </para>
/// </summary>
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// A list of parameter declarations that describe various properties for each parameter.
/// </para>
/// </summary>
public List<ParameterDeclaration> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceIdentifierSummaries.
/// <para>
/// A list of resource identifier summaries that describe the target resources of an import
/// operation and the properties you can provide during the import to identify the target
/// resources. For example, <code>BucketName</code> is a possible identifier property
/// for an <code>AWS::S3::Bucket</code> resource.
/// </para>
/// </summary>
public List<ResourceIdentifierSummary> ResourceIdentifierSummaries
{
get { return this._resourceIdentifierSummaries; }
set { this._resourceIdentifierSummaries = value; }
}
// Check to see if ResourceIdentifierSummaries property is set
internal bool IsSetResourceIdentifierSummaries()
{
return this._resourceIdentifierSummaries != null && this._resourceIdentifierSummaries.Count > 0;
}
/// <summary>
/// Gets and sets the property ResourceTypes.
/// <para>
/// A list of all the template resource types that are defined in the template, such as
/// <code>AWS::EC2::Instance</code>, <code>AWS::Dynamo::Table</code>, and <code>Custom::MyCustomInstance</code>.
/// </para>
/// </summary>
public List<string> ResourceTypes
{
get { return this._resourceTypes; }
set { this._resourceTypes = value; }
}
// Check to see if ResourceTypes property is set
internal bool IsSetResourceTypes()
{
return this._resourceTypes != null && this._resourceTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property Version.
/// <para>
/// The Amazon Web Services template format version, which identifies the capabilities
/// of the template.
/// </para>
/// </summary>
public string Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
}
}
| 225 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ImportStacksToStackSet operation.
/// Import existing stacks into a new stack sets. Use the stack import operation to import
/// up to 10 stacks into a new stack set in the same account as the source stack or in
/// a different administrator account and Region, by specifying the stack ID of the stack
/// you intend to import.
/// </summary>
public partial class ImportStacksToStackSetRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private string _operationId;
private StackSetOperationPreferences _operationPreferences;
private List<string> _organizationalUnitIds = new List<string>();
private List<string> _stackIds = new List<string>();
private string _stackIdsUrl;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// For service managed stack sets, specify <code>DELEGATED_ADMIN</code>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// A unique, user defined, identifier for the stack set operation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property OperationPreferences.
/// <para>
/// The user-specified preferences for how CloudFormation performs a stack set operation.
/// </para>
///
/// <para>
/// For more information about maximum concurrent accounts and failure tolerance, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options">Stack
/// set operation options</a>.
/// </para>
/// </summary>
public StackSetOperationPreferences OperationPreferences
{
get { return this._operationPreferences; }
set { this._operationPreferences = value; }
}
// Check to see if OperationPreferences property is set
internal bool IsSetOperationPreferences()
{
return this._operationPreferences != null;
}
/// <summary>
/// Gets and sets the property OrganizationalUnitIds.
/// <para>
/// The list of OU ID's to which the stacks being imported has to be mapped as deployment
/// target.
/// </para>
/// </summary>
public List<string> OrganizationalUnitIds
{
get { return this._organizationalUnitIds; }
set { this._organizationalUnitIds = value; }
}
// Check to see if OrganizationalUnitIds property is set
internal bool IsSetOrganizationalUnitIds()
{
return this._organizationalUnitIds != null && this._organizationalUnitIds.Count > 0;
}
/// <summary>
/// Gets and sets the property StackIds.
/// <para>
/// The IDs of the stacks you are importing into a stack set. You import up to 10 stacks
/// per stack set at a time.
/// </para>
///
/// <para>
/// Specify either <code>StackIds</code> or <code>StackIdsUrl</code>.
/// </para>
/// </summary>
public List<string> StackIds
{
get { return this._stackIds; }
set { this._stackIds = value; }
}
// Check to see if StackIds property is set
internal bool IsSetStackIds()
{
return this._stackIds != null && this._stackIds.Count > 0;
}
/// <summary>
/// Gets and sets the property StackIdsUrl.
/// <para>
/// The Amazon S3 URL which contains list of stack ids to be inputted.
/// </para>
///
/// <para>
/// Specify either <code>StackIds</code> or <code>StackIdsUrl</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5120)]
public string StackIdsUrl
{
get { return this._stackIdsUrl; }
set { this._stackIdsUrl = value; }
}
// Check to see if StackIdsUrl property is set
internal bool IsSetStackIdsUrl()
{
return this._stackIdsUrl != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name of the stack set. The name must be unique in the Region where you create
/// your stack set.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 205 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the ImportStacksToStackSet operation.
/// </summary>
public partial class ImportStacksToStackSetResponse : AmazonWebServiceResponse
{
private string _operationId;
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique identifier for the stack set operation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The template contains resources with capabilities that weren't specified in the Capabilities
/// parameter.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InsufficientCapabilitiesException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new InsufficientCapabilitiesException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InsufficientCapabilitiesException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InsufficientCapabilitiesException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InsufficientCapabilitiesException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InsufficientCapabilitiesException
/// </summary>
/// <param name="innerException"></param>
public InsufficientCapabilitiesException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InsufficientCapabilitiesException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InsufficientCapabilitiesException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InsufficientCapabilitiesException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InsufficientCapabilitiesException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InsufficientCapabilitiesException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InsufficientCapabilitiesException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The specified change set can't be used to update the stack. For example, the change
/// set status might be <code>CREATE_IN_PROGRESS</code>, or the stack status might be
/// <code>UPDATE_IN_PROGRESS</code>.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidChangeSetStatusException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new InvalidChangeSetStatusException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidChangeSetStatusException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidChangeSetStatusException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidChangeSetStatusException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidChangeSetStatusException
/// </summary>
/// <param name="innerException"></param>
public InvalidChangeSetStatusException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidChangeSetStatusException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidChangeSetStatusException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidChangeSetStatusException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidChangeSetStatusException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidChangeSetStatusException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidChangeSetStatusException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 126 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The specified operation isn't valid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidOperationException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new InvalidOperationException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidOperationException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidOperationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidOperationException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidOperationException
/// </summary>
/// <param name="innerException"></param>
public InvalidOperationException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidOperationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidOperationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidOperationException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidOperationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidOperationException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Error reserved for use by the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html">CloudFormation
/// CLI</a>. CloudFormation doesn't return this error to users.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidStateTransitionException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new InvalidStateTransitionException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidStateTransitionException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidStateTransitionException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidStateTransitionException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidStateTransitionException
/// </summary>
/// <param name="innerException"></param>
public InvalidStateTransitionException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidStateTransitionException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidStateTransitionException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidStateTransitionException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidStateTransitionException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidStateTransitionException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidStateTransitionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The quota for the resource has already been reached.
///
///
/// <para>
/// For information about resource and stack limitations, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
/// quotas</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LimitExceededException : AmazonCloudFormationException
{
/// <summary>
/// Constructs a new LimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="innerException"></param>
public LimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LimitExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ListChangeSets operation.
/// Returns the ID and status of each active change set for a stack. For example, CloudFormation
/// lists change sets that are in the <code>CREATE_IN_PROGRESS</code> or <code>CREATE_PENDING</code>
/// state.
/// </summary>
public partial class ListChangeSetsRequest : AmazonCloudFormationRequest
{
private string _nextToken;
private string _stackName;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string (provided by the <a>ListChangeSets</a> response output) that identifies the
/// next page of change sets that you want to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackName.
/// <para>
/// The name or the Amazon Resource Name (ARN) of the stack for which you want to list
/// change sets.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
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;
}
}
}
| 83 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// The output for the <a>ListChangeSets</a> action.
/// </summary>
public partial class ListChangeSetsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<ChangeSetSummary> _summaries = new List<ChangeSetSummary>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the output exceeds 1 MB, a string that identifies the next page of change sets.
/// If there is no additional page, this value is <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Summaries.
/// <para>
/// A list of <code>ChangeSetSummary</code> structures that provides the ID and status
/// of each change set for the specified stack.
/// </para>
/// </summary>
public List<ChangeSetSummary> Summaries
{
get { return this._summaries; }
set { this._summaries = value; }
}
// Check to see if Summaries property is set
internal bool IsSetSummaries()
{
return this._summaries != null && this._summaries.Count > 0;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ListExports operation.
/// Lists all exported output values in the account and Region in which you call this
/// action. Use this action to see the exported output values that you can import into
/// other stacks. To import values, use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
/// Fn::ImportValue</a> function.
///
///
/// <para>
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html">
/// CloudFormation export stack output values</a>.
/// </para>
/// </summary>
public partial class ListExportsRequest : AmazonCloudFormationRequest
{
private string _nextToken;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string (provided by the <a>ListExports</a> response output) that identifies the
/// next page of exported output values that you asked to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 69 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the ListExports operation.
/// </summary>
public partial class ListExportsResponse : AmazonWebServiceResponse
{
private List<Export> _exports = new List<Export>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Exports.
/// <para>
/// The output for the <a>ListExports</a> action.
/// </para>
/// </summary>
public List<Export> Exports
{
get { return this._exports; }
set { this._exports = value; }
}
// Check to see if Exports property is set
internal bool IsSetExports()
{
return this._exports != null && this._exports.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the output exceeds 100 exported output values, a string that identifies the next
/// page of exports. If there is no additional page, this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ListImports operation.
/// Lists all stacks that are importing an exported output value. To modify or remove
/// an exported output value, first use this action to see which stacks are using it.
/// To see the exported output values in your account, see <a>ListExports</a>.
///
///
/// <para>
/// For more information about importing an exported output value, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">Fn::ImportValue</a>
/// function.
/// </para>
/// </summary>
public partial class ListImportsRequest : AmazonCloudFormationRequest
{
private string _exportName;
private string _nextToken;
/// <summary>
/// Gets and sets the property ExportName.
/// <para>
/// The name of the exported output value. CloudFormation returns the stack names that
/// are importing this value.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ExportName
{
get { return this._exportName; }
set { this._exportName = value; }
}
// Check to see if ExportName property is set
internal bool IsSetExportName()
{
return this._exportName != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string (provided by the <a>ListImports</a> response output) that identifies the
/// next page of stacks that are importing the specified exported output value.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 89 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// This is the response object from the ListImports operation.
/// </summary>
public partial class ListImportsResponse : AmazonWebServiceResponse
{
private List<string> _imports = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Imports.
/// <para>
/// A list of stack names that are importing the specified exported output value.
/// </para>
/// </summary>
public List<string> Imports
{
get { return this._imports; }
set { this._imports = value; }
}
// Check to see if Imports property is set
internal bool IsSetImports()
{
return this._imports != null && this._imports.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A string that identifies the next page of exports. If there is no additional page,
/// this value is null.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
/// <summary>
/// Container for the parameters to the ListStackInstances operation.
/// Returns summary information about stack instances that are associated with the specified
/// stack set. You can filter for stack instances that are associated with a specific
/// Amazon Web Services account name or Region, or that have a specific status.
/// </summary>
public partial class ListStackInstancesRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private List<StackInstanceFilter> _filters = new List<StackInstanceFilter>();
private int? _maxResults;
private string _nextToken;
private string _stackInstanceAccount;
private string _stackInstanceRegion;
private string _stackSetName;
/// <summary>
/// Gets and sets the property CallAs.
/// <para>
/// [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.
/// </para>
///
/// <para>
/// By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with
/// self-managed permissions.
/// </para>
/// <ul> <li>
/// <para>
/// If you are signed in to the management account, specify <code>SELF</code>.
/// </para>
/// </li> <li>
/// <para>
/// If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.
/// </para>
///
/// <para>
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register
/// a delegated administrator</a> in the <i>CloudFormation User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filter to apply to stack instances
/// </para>
/// </summary>
[AWSProperty(Max=2)]
public List<StackInstanceFilter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to be returned with a single call. If the number of
/// available results exceeds this maximum, the response includes a <code>NextToken</code>
/// value that you can assign to the <code>NextToken</code> request parameter to get the
/// next set of results.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// If the previous request didn't return all the remaining results, the response's <code>NextToken</code>
/// parameter value is set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter.
/// If there are no remaining results, the previous response object's <code>NextToken</code>
/// parameter is set to <code>null</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property StackInstanceAccount.
/// <para>
/// The name of the Amazon Web Services account that you want to list stack instances
/// for.
/// </para>
/// </summary>
public string StackInstanceAccount
{
get { return this._stackInstanceAccount; }
set { this._stackInstanceAccount = value; }
}
// Check to see if StackInstanceAccount property is set
internal bool IsSetStackInstanceAccount()
{
return this._stackInstanceAccount != null;
}
/// <summary>
/// Gets and sets the property StackInstanceRegion.
/// <para>
/// The name of the Region where you want to list stack instances.
/// </para>
/// </summary>
public string StackInstanceRegion
{
get { return this._stackInstanceRegion; }
set { this._stackInstanceRegion = value; }
}
// Check to see if StackInstanceRegion property is set
internal bool IsSetStackInstanceRegion()
{
return this._stackInstanceRegion != null;
}
/// <summary>
/// Gets and sets the property StackSetName.
/// <para>
/// The name or unique ID of the stack set that you want to list stack instances for.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string StackSetName
{
get { return this._stackSetName; }
set { this._stackSetName = value; }
}
// Check to see if StackSetName property is set
internal bool IsSetStackSetName()
{
return this._stackSetName != null;
}
}
}
| 208 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.