-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnResourceProps.go
45 lines (42 loc) · 2.37 KB
/
CfnResourceProps.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
package awslakeformation
// Properties for defining a `CfnResource`.
//
// 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"
//
// cfnResourceProps := &CfnResourceProps{
// ResourceArn: jsii.String("resourceArn"),
// UseServiceLinkedRole: jsii.Boolean(false),
//
// // the properties below are optional
// HybridAccessEnabled: jsii.Boolean(false),
// RoleArn: jsii.String("roleArn"),
// WithFederation: jsii.Boolean(false),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html
//
type CfnResourceProps struct {
// The Amazon Resource Name (ARN) of the resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-resourcearn
//
ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"`
// Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-useservicelinkedrole
//
UseServiceLinkedRole interface{} `field:"required" json:"useServiceLinkedRole" yaml:"useServiceLinkedRole"`
// Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-hybridaccessenabled
//
HybridAccessEnabled interface{} `field:"optional" json:"hybridAccessEnabled" yaml:"hybridAccessEnabled"`
// The IAM role that registered a resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-rolearn
//
RoleArn *string `field:"optional" json:"roleArn" yaml:"roleArn"`
// Allows Lake Formation to assume a role to access tables in a federated database.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-withfederation
//
WithFederation interface{} `field:"optional" json:"withFederation" yaml:"withFederation"`
}