AWS SDK for .NET Documentation
ServiceRoleArn Property
AmazonAmazon.OpsWorks.ModelCloneStackRequestServiceRoleArn Did this page help you?   Yes   No    Tell us about it...
Gets and sets the property ServiceRoleArn.

The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.


You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

Declaration Syntax
public string ServiceRoleArn { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: (