AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateResourcePolicy operation. Creates a new resource policy with the specified policy statements.
Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z
public class CreateResourcePolicyRequest : AmazonLexModelsV2Request IAmazonWebServiceRequest
The CreateResourcePolicyRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateResourcePolicyRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Policy | System.String |
Gets and sets the property Policy. A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference . If the policy isn't valid, Amazon Lex returns a validation exception. |
![]() |
ResourceArn | System.String |
Gets and sets the property ResourceArn. The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5