Documentation ¶
Index ¶
- func CfnDataLakeSettings_CFN_RESOURCE_TYPE_NAME() *string
- func CfnDataLakeSettings_IsCfnElement(x interface{}) *bool
- func CfnDataLakeSettings_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnDataLakeSettings_IsConstruct(x interface{}) *bool
- func CfnPermissions_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPermissions_IsCfnElement(x interface{}) *bool
- func CfnPermissions_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnPermissions_IsConstruct(x interface{}) *bool
- func CfnResource_CFN_RESOURCE_TYPE_NAME() *string
- func CfnResource_IsCfnElement(x interface{}) *bool
- func CfnResource_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnResource_IsConstruct(x interface{}) *bool
- func NewCfnDataLakeSettings_Override(c CfnDataLakeSettings, scope constructs.Construct, id *string, ...)
- func NewCfnPermissions_Override(c CfnPermissions, scope constructs.Construct, id *string, ...)
- func NewCfnResource_Override(c CfnResource, scope constructs.Construct, id *string, props *CfnResourceProps)
- type CfnDataLakeSettings
- type CfnDataLakeSettingsProps
- type CfnDataLakeSettings_DataLakePrincipalProperty
- type CfnPermissions
- type CfnPermissionsProps
- type CfnPermissions_ColumnWildcardProperty
- type CfnPermissions_DataLakePrincipalProperty
- type CfnPermissions_DataLocationResourceProperty
- type CfnPermissions_DatabaseResourceProperty
- type CfnPermissions_ResourceProperty
- type CfnPermissions_TableResourceProperty
- type CfnPermissions_TableWildcardProperty
- type CfnPermissions_TableWithColumnsResourceProperty
- type CfnResource
- type CfnResourceProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnDataLakeSettings_CFN_RESOURCE_TYPE_NAME ¶
func CfnDataLakeSettings_CFN_RESOURCE_TYPE_NAME() *string
func CfnDataLakeSettings_IsCfnElement ¶
func CfnDataLakeSettings_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnDataLakeSettings_IsCfnResource ¶
func CfnDataLakeSettings_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnDataLakeSettings_IsConstruct ¶
func CfnDataLakeSettings_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnPermissions_CFN_RESOURCE_TYPE_NAME ¶
func CfnPermissions_CFN_RESOURCE_TYPE_NAME() *string
func CfnPermissions_IsCfnElement ¶
func CfnPermissions_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPermissions_IsCfnResource ¶
func CfnPermissions_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnPermissions_IsConstruct ¶
func CfnPermissions_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnResource_CFN_RESOURCE_TYPE_NAME ¶
func CfnResource_CFN_RESOURCE_TYPE_NAME() *string
func CfnResource_IsCfnElement ¶
func CfnResource_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnResource_IsCfnResource ¶
func CfnResource_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnResource_IsConstruct ¶
func CfnResource_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnDataLakeSettings_Override ¶
func NewCfnDataLakeSettings_Override(c CfnDataLakeSettings, scope constructs.Construct, id *string, props *CfnDataLakeSettingsProps)
Create a new `AWS::LakeFormation::DataLakeSettings`.
func NewCfnPermissions_Override ¶
func NewCfnPermissions_Override(c CfnPermissions, scope constructs.Construct, id *string, props *CfnPermissionsProps)
Create a new `AWS::LakeFormation::Permissions`.
func NewCfnResource_Override ¶
func NewCfnResource_Override(c CfnResource, scope constructs.Construct, id *string, props *CfnResourceProps)
Create a new `AWS::LakeFormation::Resource`.
Types ¶
type CfnDataLakeSettings ¶
type CfnDataLakeSettings interface { awscdk.CfnResource awscdk.IInspectable Admins() interface{} SetAdmins(val interface{}) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack TrustedResourceOwners() *[]*string SetTrustedResourceOwners(val *[]*string) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::LakeFormation::DataLakeSettings`.
The `AWS::LakeFormation::DataLakeSettings` resource is an AWS Lake Formation resource type that manages the data lake settings for your account. Note that the CloudFormation template only supports updating the `Admins` list. It does not support updating the [CreateDatabaseDefaultPermissions](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-aws-lake-formation-api-settings.html#aws-lake-formation-api-aws-lake-formation-api-settings-DataLakeSettings) or [CreateTableDefaultPermissions](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-aws-lake-formation-api-settings.html#aws-lake-formation-api-aws-lake-formation-api-settings-DataLakeSettings) . Those permissions can only be edited in the DataLakeSettings resource via the API.
TODO: EXAMPLE
func NewCfnDataLakeSettings ¶
func NewCfnDataLakeSettings(scope constructs.Construct, id *string, props *CfnDataLakeSettingsProps) CfnDataLakeSettings
Create a new `AWS::LakeFormation::DataLakeSettings`.
type CfnDataLakeSettingsProps ¶
type CfnDataLakeSettingsProps struct { // A list of AWS Lake Formation principals. Admins interface{} `json:"admins" yaml:"admins"` // `AWS::LakeFormation::DataLakeSettings.TrustedResourceOwners`. TrustedResourceOwners *[]*string `json:"trustedResourceOwners" yaml:"trustedResourceOwners"` }
Properties for defining a `CfnDataLakeSettings`.
TODO: EXAMPLE
type CfnDataLakeSettings_DataLakePrincipalProperty ¶
type CfnDataLakeSettings_DataLakePrincipalProperty struct { // An identifier for the Lake Formation principal. DataLakePrincipalIdentifier *string `json:"dataLakePrincipalIdentifier" yaml:"dataLakePrincipalIdentifier"` }
The Lake Formation principal.
TODO: EXAMPLE
type CfnPermissions ¶
type CfnPermissions interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string DataLakePrincipal() interface{} SetDataLakePrincipal(val interface{}) LogicalId() *string Node() constructs.Node Permissions() *[]*string SetPermissions(val *[]*string) PermissionsWithGrantOption() *[]*string SetPermissionsWithGrantOption(val *[]*string) Ref() *string Resource() interface{} SetResource(val interface{}) Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::LakeFormation::Permissions`.
The `AWS::LakeFormation::Permissions` resource represents the permissions that a principal has on an AWS Glue Data Catalog resource (such as AWS Glue database or AWS Glue tables). When you upload a permissions stack, the permissions are granted to the principal and when you remove the stack, the permissions are revoked from the principal. If you remove a stack, and the principal does not have the permissions referenced in the stack then AWS Lake Formation will throw an error because you can’t call revoke on non-existing permissions. To successfully remove the stack, you’ll need to regrant those permissions and then remove the stack.
TODO: EXAMPLE
func NewCfnPermissions ¶
func NewCfnPermissions(scope constructs.Construct, id *string, props *CfnPermissionsProps) CfnPermissions
Create a new `AWS::LakeFormation::Permissions`.
type CfnPermissionsProps ¶
type CfnPermissionsProps struct { // The AWS Lake Formation principal. DataLakePrincipal interface{} `json:"dataLakePrincipal" yaml:"dataLakePrincipal"` // A structure for the resource. Resource interface{} `json:"resource" yaml:"resource"` // The permissions granted or revoked. Permissions *[]*string `json:"permissions" yaml:"permissions"` // Indicates whether to grant the ability to grant permissions (as a subset of permissions granted). PermissionsWithGrantOption *[]*string `json:"permissionsWithGrantOption" yaml:"permissionsWithGrantOption"` }
Properties for defining a `CfnPermissions`.
TODO: EXAMPLE
type CfnPermissions_ColumnWildcardProperty ¶
type CfnPermissions_ColumnWildcardProperty struct { // Excludes column names. // // Any column with this name will be excluded. ExcludedColumnNames *[]*string `json:"excludedColumnNames" yaml:"excludedColumnNames"` }
A wildcard object, consisting of an optional list of excluded column names or indexes.
TODO: EXAMPLE
type CfnPermissions_DataLakePrincipalProperty ¶
type CfnPermissions_DataLakePrincipalProperty struct { // An identifier for the Lake Formation principal. DataLakePrincipalIdentifier *string `json:"dataLakePrincipalIdentifier" yaml:"dataLakePrincipalIdentifier"` }
The Lake Formation principal.
TODO: EXAMPLE
type CfnPermissions_DataLocationResourceProperty ¶
type CfnPermissions_DataLocationResourceProperty struct { // `CfnPermissions.DataLocationResourceProperty.CatalogId`. CatalogId *string `json:"catalogId" yaml:"catalogId"` // Currently not supported by AWS CloudFormation . S3Resource *string `json:"s3Resource" yaml:"s3Resource"` }
A structure for a data location object where permissions are granted or revoked.
TODO: EXAMPLE
type CfnPermissions_DatabaseResourceProperty ¶
type CfnPermissions_DatabaseResourceProperty struct { // `CfnPermissions.DatabaseResourceProperty.CatalogId`. CatalogId *string `json:"catalogId" yaml:"catalogId"` // The name of the database resource. // // Unique to the Data Catalog. Name *string `json:"name" yaml:"name"` }
A structure for the database object.
TODO: EXAMPLE
type CfnPermissions_ResourceProperty ¶
type CfnPermissions_ResourceProperty struct { // A structure for the database object. DatabaseResource interface{} `json:"databaseResource" yaml:"databaseResource"` // A structure for a data location object where permissions are granted or revoked. DataLocationResource interface{} `json:"dataLocationResource" yaml:"dataLocationResource"` // A structure for the table object. // // A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. TableResource interface{} `json:"tableResource" yaml:"tableResource"` // Currently not supported by AWS CloudFormation . TableWithColumnsResource interface{} `json:"tableWithColumnsResource" yaml:"tableWithColumnsResource"` }
A structure for the resource.
TODO: EXAMPLE
type CfnPermissions_TableResourceProperty ¶
type CfnPermissions_TableResourceProperty struct { // `CfnPermissions.TableResourceProperty.CatalogId`. CatalogId *string `json:"catalogId" yaml:"catalogId"` // The name of the database for the table. // // Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. DatabaseName *string `json:"databaseName" yaml:"databaseName"` // The name of the table. Name *string `json:"name" yaml:"name"` // An empty object representing all tables under a database. // // If this field is specified instead of the `Name` field, all tables under `DatabaseName` will have permission changes applied. TableWildcard interface{} `json:"tableWildcard" yaml:"tableWildcard"` }
A structure for the table object.
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
TODO: EXAMPLE
type CfnPermissions_TableWildcardProperty ¶
type CfnPermissions_TableWildcardProperty struct { }
A wildcard object representing every table under a database.
TODO: EXAMPLE
type CfnPermissions_TableWithColumnsResourceProperty ¶
type CfnPermissions_TableWithColumnsResourceProperty struct { // `CfnPermissions.TableWithColumnsResourceProperty.CatalogId`. CatalogId *string `json:"catalogId" yaml:"catalogId"` // The list of column names for the table. // // At least one of `ColumnNames` or `ColumnWildcard` is required. ColumnNames *[]*string `json:"columnNames" yaml:"columnNames"` // A wildcard specified by a `ColumnWildcard` object. // // At least one of `ColumnNames` or `ColumnWildcard` is required. ColumnWildcard interface{} `json:"columnWildcard" yaml:"columnWildcard"` // The name of the database for the table with columns resource. // // Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. DatabaseName *string `json:"databaseName" yaml:"databaseName"` // The name of the table resource. // // A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. Name *string `json:"name" yaml:"name"` }
A structure for a table with columns object. This object is only used when granting a SELECT permission.
This object must take a value for at least one of `ColumnsNames` , `ColumnsIndexes` , or `ColumnsWildcard` .
TODO: EXAMPLE
type CfnResource ¶
type CfnResource interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() constructs.Node Ref() *string ResourceArn() *string SetResourceArn(val *string) RoleArn() *string SetRoleArn(val *string) Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} UseServiceLinkedRole() interface{} SetUseServiceLinkedRole(val interface{}) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::LakeFormation::Resource`.
The `AWS::LakeFormation::Resource` represents the data (Amazon S3 buckets and folders) that is being registered with AWS Lake Formation . When a `Resource` type CloudFormation template is uploaded, an AWS Lake Formation [`RegisterResource`](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-RegisterResource) API call is made to register the resource. When a `Resource` type CloudFormation template is removed, the AWS Lake Formation [`DeregisterResource`](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-DeregisterResource) API is called.
TODO: EXAMPLE
func NewCfnResource ¶
func NewCfnResource(scope constructs.Construct, id *string, props *CfnResourceProps) CfnResource
Create a new `AWS::LakeFormation::Resource`.
type CfnResourceProps ¶
type CfnResourceProps struct { // The Amazon Resource Name (ARN) of the resource. ResourceArn *string `json:"resourceArn" yaml:"resourceArn"` // Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog. UseServiceLinkedRole interface{} `json:"useServiceLinkedRole" yaml:"useServiceLinkedRole"` // The IAM role that registered a resource. RoleArn *string `json:"roleArn" yaml:"roleArn"` }
Properties for defining a `CfnResource`.
TODO: EXAMPLE