Class: Aws::Context::Types::GlueConnectionMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::GlueConnectionMapping
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
A GlueConnectionMapping binds one resource in the connection's
scope to an existing AWS Glue connection that you specify for it.
The mapping covers every scope selector that names that resource. For
a redshiftNamespace, AWS Context does not check which resource your
AWS Glue connection targets. AWS Context does not revalidate an update
that resends the stored list unchanged. A response does not return a
status for each mapping.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#glue_connection_arn ⇒ String
The ARN of your AWS Glue connection for
path, in your account and Region. -
#path ⇒ Array<Types::PathSegment>
The resource that this mapping binds, root first, in the same form as
scope.selectors[].path.
Instance Attribute Details
#glue_connection_arn ⇒ String
The ARN of your AWS Glue connection for path, in your account and
Region. Required. The connection type must be one that path
accepts:
redshiftNamespace- AREDSHIFTunified connection (ConnectionSchemaVersion 2).rdsInstanceandrdsDatabase- APOSTGRESQLunified connection, or, for an RDS DB instance, alsoORACLE, with itsDATABASEproperty set to thatrdsDatabase.snowflakeDatabase- ASNOWFLAKEconnection with aROLE_ARNand itsDATABASEproperty set to that database. TheROLE_ARNmust allowglue:GetConnectionon that connection.
AWS Context synchronizes the database through this connection. It
doesn't change DATABASE on a connection that it didn't create.
If AWS Glue is still validating the connection, the request fails
with ConflictException. If its validation failed, the request
fails with AccessDeniedException.
4285 4286 4287 4288 4289 4290 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4285 class GlueConnectionMapping < Struct.new( :path, :glue_connection_arn) SENSITIVE = [] include Aws::Structure end |
#path ⇒ Array<Types::PathSegment>
The resource that this mapping binds, root first, in the same form
as scope.selectors[].path. Required. Contains 1–2 segments:
On a
GLUE_DATA_CATALOGconnection, either aredshiftNamespacesegment whose ID is an Amazon Redshift namespace ARN (namespace:<id>, ornamespace/<id>for Amazon Redshift Serverless), or anrdsInstancesegment whose ID is an Amazon RDS DB cluster or DB instance ARN (cluster:<id>ordb:<id>) followed by anrdsDatabasesegment whose ID is the database name. The ARN must be in your account and Region.On a
SNOWFLAKEconnection whosedataSourceis an AWS Glue connection, asnowflakeDatabasesegment whose ID is the database name, at most 255 characters.
4285 4286 4287 4288 4289 4290 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4285 class GlueConnectionMapping < Struct.new( :path, :glue_connection_arn) SENSITIVE = [] include Aws::Structure end |