-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnSecurityPolicyProps.go
42 lines (39 loc) · 1.83 KB
/
CfnSecurityPolicyProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package awsopensearchserverless
// Properties for defining a `CfnSecurityPolicy`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnSecurityPolicyProps := &CfnSecurityPolicyProps{
// Name: jsii.String("name"),
// Policy: jsii.String("policy"),
// Type: jsii.String("type"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html
//
type CfnSecurityPolicyProps struct {
// The name of the policy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html#cfn-opensearchserverless-securitypolicy-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The JSON policy document without any whitespaces.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html#cfn-opensearchserverless-securitypolicy-policy
//
Policy *string `field:"required" json:"policy" yaml:"policy"`
// The type of security policy.
//
// Can be either `encryption` or `network` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html#cfn-opensearchserverless-securitypolicy-type
//
Type *string `field:"required" json:"type" yaml:"type"`
// The description of the security policy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html#cfn-opensearchserverless-securitypolicy-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}