-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAccessGrantsLocationProps.go
47 lines (44 loc) · 2.29 KB
/
CfnAccessGrantsLocationProps.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
42
43
44
45
46
package awss3
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnAccessGrantsLocation`.
//
// 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"
//
// cfnAccessGrantsLocationProps := &CfnAccessGrantsLocationProps{
// IamRoleArn: jsii.String("iamRoleArn"),
// LocationScope: jsii.String("locationScope"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html
//
type CfnAccessGrantsLocationProps struct {
// The Amazon Resource Name (ARN) of the IAM role for the registered location.
//
// S3 Access Grants assumes this role to manage access to the registered location.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html#cfn-s3-accessgrantslocation-iamrolearn
//
IamRoleArn *string `field:"optional" json:"iamRoleArn" yaml:"iamRoleArn"`
// The S3 URI path to the location that you are registering.
//
// The location scope can be the default S3 location `s3://` , the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with the `engineering/` prefix or object key names that start with the `marketing/campaigns/` prefix.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html#cfn-s3-accessgrantslocation-locationscope
//
LocationScope *string `field:"optional" json:"locationScope" yaml:"locationScope"`
// The AWS resource tags that you are adding to the S3 Access Grants location.
//
// Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html#cfn-s3-accessgrantslocation-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}