CfnConnectionType
- class aws_cdk.aws_glue.CfnConnectionType(scope, id, *, connection_type, rest_configuration, connection_properties=None, connector_authentication_configuration=None, description=None, integration_type=None, tags=None)
Bases:
CfnResourceRegisters a custom connection type in Glue based on the configuration provided.
This enables customers to configure custom connectors for any data source with REST-based APIs.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connectiontype.html
- CloudformationResource:
AWS::Glue::ConnectionType
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue cfn_connection_type = glue.CfnConnectionType(self, "MyCfnConnectionType", connection_type="connectionType", rest_configuration=glue.CfnConnectionType.RestConfigurationProperty( entity_configurations={ "entity_configurations_key": glue.CfnConnectionType.EntityConfigurationProperty( schema={ "schema_key": glue.CfnConnectionType.FieldDefinitionProperty( field_data_type="fieldDataType", name="name", # the properties below are optional filter_overrides=glue.CfnConnectionType.FilterOverridesProperty( between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", field_name="fieldName", operator_mappings={ "operator_mappings_key": "operatorMappings" } ), is_nullable=False, is_orderable=False, is_partitionable=False, is_queryable=False, response_date_format="responseDateFormat" ) }, source_configuration=glue.CfnConnectionType.SourceConfigurationProperty( filter_configuration=glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False ), pagination_configuration=glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) ), request_method="requestMethod", request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], request_path="requestPath", response_configuration=glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" ) ) ) }, global_source_configuration=glue.CfnConnectionType.SourceConfigurationProperty( filter_configuration=glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False ), pagination_configuration=glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) ), request_method="requestMethod", request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], request_path="requestPath", response_configuration=glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" ) ), validation_endpoint_configuration=glue.CfnConnectionType.ValidationEndpointConfigurationProperty( request_method="requestMethod", request_path="requestPath" ) ), # the properties below are optional connection_properties=glue.CfnConnectionType.ConnectionPropertiesConfigurationProperty( additional_request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ) ), connector_authentication_configuration=glue.CfnConnectionType.ConnectorAuthenticationConfigurationProperty( authentication_types=["authenticationTypes"], # the properties below are optional basic_authentication_properties=glue.CfnConnectionType.BasicAuthenticationPropertiesProperty( password=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), username=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ) ), custom_authentication_properties=glue.CfnConnectionType.CustomAuthenticationPropertiesProperty( authentication_parameters=[glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" )] ), o_auth2_properties=glue.CfnConnectionType.ConnectorOAuth2PropertiesProperty( o_auth2_grant_type="oAuth2GrantType", # the properties below are optional authorization_code_properties=glue.CfnConnectionType.ConnectorAuthorizationCodePropertiesProperty( authorization_code=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), authorization_code_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", prompt=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), redirect_uri=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ), client_credentials_properties=glue.CfnConnectionType.ClientCredentialsPropertiesProperty( client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ), jwt_bearer_properties=glue.CfnConnectionType.JWTBearerPropertiesProperty( content_type="contentType", jwt_token=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ) ) ), description="description", integration_type="integrationType", tags=[CfnTag( key="key", value="value" )] )
Create a new
AWS::Glue::ConnectionType.- Parameters:
scope (
Construct) – Scope in which this resource is defined.id (
str) – Construct identifier for this resource (unique in its scope).connection_type (
str) – The name of the connection type. Must be prefixed with REST-.rest_configuration (
Union[IResolvable,RestConfigurationProperty,Dict[str,Any]]) – Configuration for HTTP request and response handling.connection_properties (
Union[IResolvable,ConnectionPropertiesConfigurationProperty,Dict[str,Any],None]) – Configuration that defines the base URL and additional request parameters needed during connection creation.connector_authentication_configuration (
Union[IResolvable,ConnectorAuthenticationConfigurationProperty,Dict[str,Any],None]) – Configuration that defines supported authentication types and required properties.description (
Optional[str]) – A description of the connection type.integration_type (
Optional[str]) – The integration type for the connection. Currently only REST is supported.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Tags to assign to the connection type.
Methods
- add_deletion_override(path)
Syntactic sugar for
addOverride(path, undefined).- Parameters:
path (
str) – The path of the value to delete.- Return type:
None
- add_dependency(target)
(deprecated) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This method has been renamed to
addResourceDependencyto more clearly set it apart fromconstruct.node.addDependency. See the documentation of that function for more details.- Parameters:
target (
CfnResource)- Deprecated:
Use
addResourceDependencyinstead.- Stability:
deprecated
- Return type:
None
- add_depends_on(target)
(deprecated) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
This method has been renamed to
addResourceDependency, which makes it more clear that this method operates at a different level from the construct-levelconstruct.node.addDependency()mechanism.- Parameters:
target (
CfnResource)- Deprecated:
Use
addResourceDependencyinstead.- Stability:
deprecated
- Return type:
None
- add_metadata(key, value)
Add a value to the CloudFormation Resource Metadata.
- Parameters:
key (
str)value (
Any)
- See:
- Return type:
None
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- add_override(path, value)
Adds an override to the synthesized CloudFormation resource.
To add a property override, either use
addPropertyOverrideor prefixpathwith “Properties.” (i.e.Properties.TopicName).If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal
.in the property name, prefix with a\. In most programming languages you will need to write this as"\\."because the\itself will need to be escaped.For example:
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"]) cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")
would add the overrides Example:
"Properties": { "GlobalSecondaryIndexes": [ { "Projection": { "NonKeyAttributes": [ "myattribute" ] ... } ... }, { "ProjectionType": "INCLUDE" ... }, ] ... }
The
valueargument toaddOverridewill not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.- Parameters:
path (
str) –The path of the property, you can use dot notation to override values in complex types. Any intermediate keys will be created as needed.
value (
Any) –The value. Could be primitive or complex.
- Return type:
None
- add_property_deletion_override(property_path)
Adds an override that deletes the value of a property from the resource definition.
- Parameters:
property_path (
str) – The path to the property.- Return type:
None
- add_property_override(property_path, value)
Adds an override to a resource property.
Syntactic sugar for
addOverride("Properties.<...>", value).- Parameters:
property_path (
str) – The path of the property.value (
Any) – The value.
- Return type:
None
- add_resource_dependency(target, reason=None)
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
This method only adds dependencies between L1 resources. If you are looking for a generic construct-to-construct dependency mechanism that works for all constructs including L2s, use
construct.node.addDependencyinstead.- Parameters:
target (
CfnResource)reason (
Optional[str])
- Return type:
None
- apply_cross_stack_reference_strength(strength)
Sets the cross-stack reference strength for this resource.
When set, any cross-stack reference to this resource will use the specified strength instead of the global default from the consuming stack’s context.
- Parameters:
strength (
ReferenceStrength) –The reference strength to use for this resource.
- Return type:
None
- apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN). In some cases, a snapshot can be taken of the resource prior to deletion (RemovalPolicy.SNAPSHOT). A list of resources that support this policy can be found in the following link:- Parameters:
policy (
Optional[RemovalPolicy])apply_to_update_replace_policy (
Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: truedefault (
Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resource, please consult that specific resource’s documentation.
- See:
- Return type:
None
- cfn_property_name(cdk_property_name)
- Parameters:
cdk_property_name (
str)- Return type:
Optional[str]
- get_att(attribute_name, type_hint=None)
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g.
resource.arn), but this can be used for future compatibility in case there is no generated attribute.- Parameters:
attribute_name (
str) – The name of the attribute.type_hint (
Optional[ResolutionTypeHint])
- Return type:
- get_metadata(key)
Retrieve a value value from the CloudFormation Resource Metadata.
- Parameters:
key (
str)- See:
- Return type:
Any
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- inspect(inspector)
Examines the CloudFormation resource and discloses attributes.
- Parameters:
inspector (
TreeInspector) – tree inspector to collect and process attributes.- Return type:
None
- obtain_dependencies()
Retrieves an array of resources and stacks this resource depends on.
For resources depended on directly, returns the
CfnResourceobject. For dependencies on other stacks, returns theStackobject. The order of the array is not guaranteed.- Return type:
List[Union[Stack,CfnResource]]
- override_logical_id(new_logical_id)
Overrides the auto-generated logical ID with a specific ID.
- Parameters:
new_logical_id (
str) – The new logical ID to use for this stack element.- Return type:
None
- remove_dependency(target)
(deprecated) Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Parameters:
target (
CfnResource)- Deprecated:
Use
removeResourceDependencyinstead- Stability:
deprecated
- Return type:
None
- remove_resource_dependency(target)
Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Parameters:
target (
CfnResource)- Return type:
None
- replace_dependency(target, new_target)
Replaces one dependency with another.
- Parameters:
target (
CfnResource) – The dependency to replace.new_target (
CfnResource) – The new dependency to add.
- Return type:
None
- to_string()
Returns a string representation of this construct.
- Return type:
str- Returns:
a string representation of this resource
- with_(*mixins)
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited. Use multiple
with()calls if subsequent mixins should apply to added constructs.- Parameters:
mixins (
IMixin)- Return type:
Attributes
- CFN_RESOURCE_TYPE_NAME = 'AWS::Glue::ConnectionType'
- attr_connection_type_arn
The Amazon Resource Name (ARN) of the registered connection type.
- CloudformationAttribute:
ConnectionTypeArn
- cdk_tag_manager
Tag Manager which manages the tags for this resource.
- cfn_options
Options for this resource, such as condition, update policy etc.
- cfn_resource_type
AWS resource type.
- connection_properties
Configuration that defines the base URL and additional request parameters needed during connection creation.
- connection_type
The name of the connection type.
- connection_type_ref
A reference to a ConnectionType resource.
- connector_authentication_configuration
Configuration that defines supported authentication types and required properties.
- creation_stack
return:
the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.
- description
A description of the connection type.
- env
- integration_type
The integration type for the connection.
- logical_id
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use
overrideLogicalId(newLogicalId).- Returns:
the logical ID as a stringified token. This value will only get resolved during synthesis.
- node
The tree node.
- ref
Return a string that will be resolved to a CloudFormation
{ Ref }for this element.If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through
Lazy.any({ produce: resource.ref }).
- rest_configuration
Configuration for HTTP request and response handling.
- stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
- tags
Tags to assign to the connection type.
Static Methods
- classmethod arn_for_connection_type(resource)
- Parameters:
resource (
IConnectionTypeRef)- Return type:
str
- classmethod is_cfn_connection_type(x)
Checks whether the given object is a CfnConnectionType.
- Parameters:
x (
Any)- Return type:
bool
- classmethod is_cfn_element(x)
Returns
trueif a construct is a stack element (i.e. part of the synthesized cloudformation template).Uses duck-typing instead of
instanceofto allow stack elements from different versions of this library to be included in the same stack.- Parameters:
x (
Any)- Return type:
bool- Returns:
The construct as a stack element or undefined if it is not a stack element.
- classmethod is_cfn_resource(x)
Check whether the given object is a CfnResource.
- Parameters:
x (
Any)- Return type:
bool
- classmethod is_construct(x)
Checks if
xis a construct.Use this method instead of
instanceofto properly detectConstructinstances, even when the construct library is symlinked.Explanation: in JavaScript, multiple copies of the
constructslibrary on disk are seen as independent, completely different libraries. As a consequence, the classConstructin each copy of theconstructslibrary is seen as a different class, and an instance of one class will not test asinstanceofthe other class.npm installwill not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of theconstructslibrary can be accidentally installed, andinstanceofwill behave unpredictably. It is safest to avoid usinginstanceof, and using this type-testing method instead.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsConstruct.
BasicAuthenticationPropertiesProperty
- class CfnConnectionType.BasicAuthenticationPropertiesProperty(*, password=None, username=None)
Bases:
objectBasic authentication configuration.
- Parameters:
password (
Union[IResolvable,SecretConnectorPropertyProperty,Dict[str,Any],None]) – Defines a secret property configuration. SECRET-type properties cannot have DefaultValue or AllowedValues.username (
Union[IResolvable,SecretConnectorPropertyProperty,Dict[str,Any],None]) – Defines a secret property configuration. SECRET-type properties cannot have DefaultValue or AllowedValues.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue basic_authentication_properties_property = glue.CfnConnectionType.BasicAuthenticationPropertiesProperty( password=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), username=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ) )
Attributes
- password
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
- username
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
BetweenConfigurationProperty
- class CfnConnectionType.BetweenConfigurationProperty(*, high_bound_key=None, low_bound_key=None, template=None)
Bases:
objectConfiguration that defines how BETWEEN range filter operations are translated into REST API request parameters.
- Parameters:
high_bound_key (
Optional[str]) – The parameter name used for the upper bound value in a BETWEEN filter operation.low_bound_key (
Optional[str]) – The parameter name used for the lower bound value in a BETWEEN filter operation.template (
Optional[str]) – A template string for constructing the BETWEEN filter expression.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue between_configuration_property = glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" )
Attributes
- high_bound_key
The parameter name used for the upper bound value in a BETWEEN filter operation.
- low_bound_key
The parameter name used for the lower bound value in a BETWEEN filter operation.
- template
A template string for constructing the BETWEEN filter expression.
ClientCredentialsPropertiesProperty
- class CfnConnectionType.ClientCredentialsPropertiesProperty(*, client_id=None, client_secret=None, content_type=None, request_method=None, scope=None, token_url=None, token_url_parameters=None)
Bases:
objectOAuth2 client credentials configuration.
- Parameters:
client_id (
Union[IResolvable,SecretConnectorPropertyProperty,Dict[str,Any],None]) – Defines a secret property configuration. SECRET-type properties cannot have DefaultValue or AllowedValues.client_secret (
Union[IResolvable,SecretConnectorPropertyProperty,Dict[str,Any],None]) – Defines a secret property configuration. SECRET-type properties cannot have DefaultValue or AllowedValues.content_type (
Optional[str])request_method (
Optional[str])scope (
Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any],None]) – Defines a property configuration for connection types.token_url (
Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any],None]) – Defines a property configuration for connection types.token_url_parameters (
Union[IResolvable,Sequence[Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any]]],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue client_credentials_properties_property = glue.CfnConnectionType.ClientCredentialsPropertiesProperty( client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] )
Attributes
- client_id
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
- client_secret
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
- content_type
-
- Type:
see
- request_method
-
- Type:
see
- scope
Defines a property configuration for connection types.
- token_url
Defines a property configuration for connection types.
ConnectionPropertiesConfigurationProperty
- class CfnConnectionType.ConnectionPropertiesConfigurationProperty(*, additional_request_parameters=None, url=None)
Bases:
objectConfiguration that defines the base URL and additional request parameters needed during connection creation.
- Parameters:
additional_request_parameters (
Union[IResolvable,Sequence[Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any]]],None]) – Key-value pairs of additional request parameters.url (
Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any],None]) – Defines a property configuration for connection types.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue connection_properties_configuration_property = glue.CfnConnectionType.ConnectionPropertiesConfigurationProperty( additional_request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ) )
Attributes
- additional_request_parameters
Key-value pairs of additional request parameters.
- url
Defines a property configuration for connection types.
ConnectorAuthenticationConfigurationProperty
- class CfnConnectionType.ConnectorAuthenticationConfigurationProperty(*, authentication_types, basic_authentication_properties=None, custom_authentication_properties=None, o_auth2_properties=None)
Bases:
objectConfiguration that defines supported authentication types and required properties.
- Parameters:
authentication_types (
Sequence[str]) – A list of authentication types supported.basic_authentication_properties (
Union[IResolvable,BasicAuthenticationPropertiesProperty,Dict[str,Any],None]) – Basic authentication configuration.custom_authentication_properties (
Union[IResolvable,CustomAuthenticationPropertiesProperty,Dict[str,Any],None]) – Custom authentication configuration.o_auth2_properties (
Union[IResolvable,ConnectorOAuth2PropertiesProperty,Dict[str,Any],None]) – OAuth2 configuration container.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue connector_authentication_configuration_property = glue.CfnConnectionType.ConnectorAuthenticationConfigurationProperty( authentication_types=["authenticationTypes"], # the properties below are optional basic_authentication_properties=glue.CfnConnectionType.BasicAuthenticationPropertiesProperty( password=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), username=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ) ), custom_authentication_properties=glue.CfnConnectionType.CustomAuthenticationPropertiesProperty( authentication_parameters=[glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" )] ), o_auth2_properties=glue.CfnConnectionType.ConnectorOAuth2PropertiesProperty( o_auth2_grant_type="oAuth2GrantType", # the properties below are optional authorization_code_properties=glue.CfnConnectionType.ConnectorAuthorizationCodePropertiesProperty( authorization_code=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), authorization_code_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", prompt=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), redirect_uri=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ), client_credentials_properties=glue.CfnConnectionType.ClientCredentialsPropertiesProperty( client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ), jwt_bearer_properties=glue.CfnConnectionType.JWTBearerPropertiesProperty( content_type="contentType", jwt_token=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ) ) )
Attributes
- authentication_types
A list of authentication types supported.
- basic_authentication_properties
Basic authentication configuration.
- custom_authentication_properties
Custom authentication configuration.
- o_auth2_properties
OAuth2 configuration container.
ConnectorOAuth2PropertiesProperty
- class CfnConnectionType.ConnectorOAuth2PropertiesProperty(*, o_auth2_grant_type, authorization_code_properties=None, client_credentials_properties=None, jwt_bearer_properties=None)
Bases:
objectOAuth2 configuration container.
- Parameters:
o_auth2_grant_type (
str) – The OAuth2 grant type to use.authorization_code_properties (
Union[IResolvable,ConnectorAuthorizationCodePropertiesProperty,Dict[str,Any],None]) – OAuth2 authorization code configuration.client_credentials_properties (
Union[IResolvable,ClientCredentialsPropertiesProperty,Dict[str,Any],None]) – OAuth2 client credentials configuration.jwt_bearer_properties (
Union[IResolvable,JWTBearerPropertiesProperty,Dict[str,Any],None]) – JWT bearer token configuration.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue connector_o_auth2_properties_property = glue.CfnConnectionType.ConnectorOAuth2PropertiesProperty( o_auth2_grant_type="oAuth2GrantType", # the properties below are optional authorization_code_properties=glue.CfnConnectionType.ConnectorAuthorizationCodePropertiesProperty( authorization_code=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), authorization_code_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", prompt=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), redirect_uri=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ), client_credentials_properties=glue.CfnConnectionType.ClientCredentialsPropertiesProperty( client_id=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), client_secret=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), content_type="contentType", request_method="requestMethod", scope=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ), jwt_bearer_properties=glue.CfnConnectionType.JWTBearerPropertiesProperty( content_type="contentType", jwt_token=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] ) )
Attributes
- authorization_code_properties
OAuth2 authorization code configuration.
- client_credentials_properties
OAuth2 client credentials configuration.
- jwt_bearer_properties
JWT bearer token configuration.
- o_auth2_grant_type
The OAuth2 grant type to use.
ConnectorPropertyProperty
- class CfnConnectionType.ConnectorPropertyProperty(*, name, property_type, required, allowed_values=None, default_value=None, key_override=None, property_location=None)
Bases:
objectDefines a property configuration for connection types.
- Parameters:
name (
str) – The name of the property.property_type (
str) – The data type of this property.required (
Union[bool,IResolvable]) – Indicates whether the property is required.allowed_values (
Optional[Sequence[str]]) – A list of allowed values for the property.default_value (
Optional[str]) – The default value for the property.key_override (
Optional[str]) – A key name to use when sending this property in API requests.property_location (
Optional[str]) – Specifies where this property should be included in REST requests.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue connector_property_property = glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )
Attributes
- allowed_values
A list of allowed values for the property.
- default_value
The default value for the property.
- key_override
A key name to use when sending this property in API requests.
- name
The name of the property.
- property_location
Specifies where this property should be included in REST requests.
- property_type
The data type of this property.
- required
Indicates whether the property is required.
CursorConfigurationProperty
- class CfnConnectionType.CursorConfigurationProperty(*, next_page, limit_parameter=None)
Bases:
objectCursor-based pagination configuration.
- Parameters:
next_page (
Union[IResolvable,ExtractedParameterProperty,Dict[str,Any]]) – Parameter extraction configuration.limit_parameter (
Union[IResolvable,ExtractedParameterProperty,Dict[str,Any],None]) – Parameter extraction configuration.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue cursor_configuration_property = glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) )
Attributes
- limit_parameter
Parameter extraction configuration.
- next_page
Parameter extraction configuration.
CustomAuthenticationPropertiesProperty
- class CfnConnectionType.CustomAuthenticationPropertiesProperty(*, authentication_parameters)
Bases:
objectCustom authentication configuration.
- Parameters:
authentication_parameters (
Union[IResolvable,Sequence[Union[IResolvable,SecretConnectorPropertyProperty,Dict[str,Any]]]])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue custom_authentication_properties_property = glue.CfnConnectionType.CustomAuthenticationPropertiesProperty( authentication_parameters=[glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" )] )
Attributes
EntityConfigurationProperty
- class CfnConnectionType.EntityConfigurationProperty(*, schema=None, source_configuration=None)
Bases:
objectConfiguration for interacting with a specific data entity.
- Parameters:
schema (
Union[IResolvable,Mapping[str,Union[IResolvable,FieldDefinitionProperty,Dict[str,Any]]],None]) – The schema definition for this entity.source_configuration (
Union[IResolvable,SourceConfigurationProperty,Dict[str,Any],None]) – Configuration that defines how to make requests to endpoints.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue entity_configuration_property = glue.CfnConnectionType.EntityConfigurationProperty( schema={ "schema_key": glue.CfnConnectionType.FieldDefinitionProperty( field_data_type="fieldDataType", name="name", # the properties below are optional filter_overrides=glue.CfnConnectionType.FilterOverridesProperty( between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", field_name="fieldName", operator_mappings={ "operator_mappings_key": "operatorMappings" } ), is_nullable=False, is_orderable=False, is_partitionable=False, is_queryable=False, response_date_format="responseDateFormat" ) }, source_configuration=glue.CfnConnectionType.SourceConfigurationProperty( filter_configuration=glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False ), pagination_configuration=glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) ), request_method="requestMethod", request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], request_path="requestPath", response_configuration=glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" ) ) )
Attributes
- schema
The schema definition for this entity.
- source_configuration
Configuration that defines how to make requests to endpoints.
ExtractedParameterProperty
- class CfnConnectionType.ExtractedParameterProperty(*, default_value=None, key=None, property_location=None, value=None)
Bases:
objectParameter extraction configuration.
- Parameters:
default_value (
Optional[str]) – The default value.key (
Optional[str]) – The parameter key name.property_location (
Optional[str]) – Specifies where to place the parameter in requests.value (
Union[IResolvable,ResponseExtractionMappingProperty,Dict[str,Any],None]) – Defines how to extract values from HTTP responses.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue extracted_parameter_property = glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) )
Attributes
- default_value
The default value.
- key
The parameter key name.
- property_location
Specifies where to place the parameter in requests.
- value
Defines how to extract values from HTTP responses.
FieldDefinitionProperty
- class CfnConnectionType.FieldDefinitionProperty(*, field_data_type, name, filter_overrides=None, is_nullable=None, is_orderable=None, is_partitionable=None, is_queryable=None, response_date_format=None)
Bases:
objectDefines a field in an entity schema.
- Parameters:
field_data_type (
str) – The data type of the field.name (
str) – The name of the field.filter_overrides (
Union[IResolvable,FilterOverridesProperty,Dict[str,Any],None]) – Configuration that defines per-field overrides for filter behavior, allowing individual fields to customize how filter operations are applied.is_nullable (
Union[bool,IResolvable,None]) – Indicates whether this field can contain null values.is_orderable (
Union[bool,IResolvable,None]) – Indicates whether this field can be used for ordering results.is_partitionable (
Union[bool,IResolvable,None]) – Indicates whether this field can be used for partitioning queries to the data source.is_queryable (
Union[bool,IResolvable,None]) – Indicates whether this field can be used in filter predicates when querying data.response_date_format (
Optional[str]) – The format pattern for parsing date values from API responses. Accepts Java DateTimeFormatter patterns, EPOCH_SECONDS, or EPOCH_MILLIS.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue field_definition_property = glue.CfnConnectionType.FieldDefinitionProperty( field_data_type="fieldDataType", name="name", # the properties below are optional filter_overrides=glue.CfnConnectionType.FilterOverridesProperty( between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", field_name="fieldName", operator_mappings={ "operator_mappings_key": "operatorMappings" } ), is_nullable=False, is_orderable=False, is_partitionable=False, is_queryable=False, response_date_format="responseDateFormat" )
Attributes
- field_data_type
The data type of the field.
- filter_overrides
Configuration that defines per-field overrides for filter behavior, allowing individual fields to customize how filter operations are applied.
- is_nullable
Indicates whether this field can contain null values.
- is_orderable
Indicates whether this field can be used for ordering results.
- is_partitionable
Indicates whether this field can be used for partitioning queries to the data source.
- is_queryable
Indicates whether this field can be used in filter predicates when querying data.
- name
The name of the field.
- response_date_format
The format pattern for parsing date values from API responses.
Accepts Java DateTimeFormatter patterns, EPOCH_SECONDS, or EPOCH_MILLIS.
FilterConfigurationProperty
- class CfnConnectionType.FilterConfigurationProperty(*, filter_mode, between_configuration=None, date_time_format=None, filter_string_configuration=None, operator_mappings=None, strip_quotes=None)
Bases:
objectConfiguration that defines how filter predicates are applied to REST API requests, supporting both query parameter and filter string strategies.
- Parameters:
filter_mode (
str) – The strategy for applying filters to requests.between_configuration (
Union[IResolvable,BetweenConfigurationProperty,Dict[str,Any],None]) – Configuration that defines how BETWEEN range filter operations are translated into REST API request parameters.date_time_format (
Optional[str]) – The global date and time format for filter expressions.filter_string_configuration (
Union[IResolvable,FilterStringConfigurationProperty,Dict[str,Any],None]) – Configuration for constructing filter expression strings when using the FILTER_STRING filter mode.operator_mappings (
Union[IResolvable,Mapping[str,str],None]) – A map of logical filter operators to their API-specific string representations.strip_quotes (
Union[bool,IResolvable,None]) – Indicates whether surrounding double quotes should be stripped from filter values before processing.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue filter_configuration_property = glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False )
Attributes
- between_configuration
Configuration that defines how BETWEEN range filter operations are translated into REST API request parameters.
- date_time_format
The global date and time format for filter expressions.
- filter_mode
The strategy for applying filters to requests.
- filter_string_configuration
Configuration for constructing filter expression strings when using the FILTER_STRING filter mode.
- operator_mappings
A map of logical filter operators to their API-specific string representations.
- strip_quotes
Indicates whether surrounding double quotes should be stripped from filter values before processing.
FilterOverridesProperty
- class CfnConnectionType.FilterOverridesProperty(*, between_configuration=None, date_time_format=None, field_name=None, operator_mappings=None)
Bases:
objectConfiguration that defines per-field overrides for filter behavior, allowing individual fields to customize how filter operations are applied.
- Parameters:
between_configuration (
Union[IResolvable,BetweenConfigurationProperty,Dict[str,Any],None]) – Configuration that defines how BETWEEN range filter operations are translated into REST API request parameters.date_time_format (
Optional[str]) – The date and time format for filter expressions on this field, overriding the global DateTimeFormat.field_name (
Optional[str]) – An override for the field name to use in filter expressions, if different from the schema field name.operator_mappings (
Union[IResolvable,Mapping[str,str],None]) – A map of logical filter operators to their field-specific API representations, overriding the global operator mappings.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue filter_overrides_property = glue.CfnConnectionType.FilterOverridesProperty( between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", field_name="fieldName", operator_mappings={ "operator_mappings_key": "operatorMappings" } )
Attributes
- between_configuration
Configuration that defines how BETWEEN range filter operations are translated into REST API request parameters.
- date_time_format
The date and time format for filter expressions on this field, overriding the global DateTimeFormat.
- field_name
An override for the field name to use in filter expressions, if different from the schema field name.
- operator_mappings
A map of logical filter operators to their field-specific API representations, overriding the global operator mappings.
FilterStringConfigurationProperty
- class CfnConnectionType.FilterStringConfigurationProperty(*, query_parameter_name, quote_character=None, quote_string_values=None)
Bases:
objectConfiguration for constructing filter expression strings when using the FILTER_STRING filter mode.
- Parameters:
query_parameter_name (
str) – The query parameter name used to send the constructed filter expression string in API requests.quote_character (
Optional[str]) – The character used to quote values when QuoteStringValues is true. Defaults to double quotes if not specified.quote_string_values (
Union[bool,IResolvable,None]) – Indicates whether string and date values should be wrapped with a quote character in the filter expression.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue filter_string_configuration_property = glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False )
Attributes
- query_parameter_name
The query parameter name used to send the constructed filter expression string in API requests.
- quote_character
The character used to quote values when QuoteStringValues is true.
Defaults to double quotes if not specified.
- quote_string_values
Indicates whether string and date values should be wrapped with a quote character in the filter expression.
JWTBearerPropertiesProperty
- class CfnConnectionType.JWTBearerPropertiesProperty(*, content_type=None, jwt_token=None, request_method=None, token_url=None, token_url_parameters=None)
Bases:
objectJWT bearer token configuration.
- Parameters:
content_type (
Optional[str])jwt_token (
Union[IResolvable,SecretConnectorPropertyProperty,Dict[str,Any],None]) – Defines a secret property configuration. SECRET-type properties cannot have DefaultValue or AllowedValues.request_method (
Optional[str])token_url (
Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any],None]) – Defines a property configuration for connection types.token_url_parameters (
Union[IResolvable,Sequence[Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any]]],None])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue j_wt_bearer_properties_property = glue.CfnConnectionType.JWTBearerPropertiesProperty( content_type="contentType", jwt_token=glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" ), request_method="requestMethod", token_url=glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" ), token_url_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )] )
Attributes
- content_type
-
- Type:
see
- jwt_token
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
- request_method
-
- Type:
see
- token_url
Defines a property configuration for connection types.
OffsetConfigurationProperty
- class CfnConnectionType.OffsetConfigurationProperty(*, limit_parameter, offset_parameter)
Bases:
objectOffset-based pagination configuration.
- Parameters:
limit_parameter (
Union[IResolvable,ExtractedParameterProperty,Dict[str,Any]]) – Parameter extraction configuration.offset_parameter (
Union[IResolvable,ExtractedParameterProperty,Dict[str,Any]]) – Parameter extraction configuration.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue offset_configuration_property = glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) )
Attributes
- limit_parameter
Parameter extraction configuration.
- offset_parameter
Parameter extraction configuration.
PaginationConfigurationProperty
- class CfnConnectionType.PaginationConfigurationProperty(*, cursor_configuration=None, offset_configuration=None)
Bases:
objectConfiguration for handling paginated responses.
- Parameters:
cursor_configuration (
Union[IResolvable,CursorConfigurationProperty,Dict[str,Any],None]) – Cursor-based pagination configuration.offset_configuration (
Union[IResolvable,OffsetConfigurationProperty,Dict[str,Any],None]) – Offset-based pagination configuration.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue pagination_configuration_property = glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) )
Attributes
- cursor_configuration
Cursor-based pagination configuration.
- offset_configuration
Offset-based pagination configuration.
ResponseConfigurationProperty
- class CfnConnectionType.ResponseConfigurationProperty(*, result_path, error_path=None)
Bases:
objectConfiguration for parsing JSON responses from REST API calls.
- Parameters:
result_path (
str) – JSON path expression for result data location.error_path (
Optional[str]) – JSON path expression for error information location.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue response_configuration_property = glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" )
Attributes
- error_path
JSON path expression for error information location.
- result_path
JSON path expression for result data location.
ResponseExtractionMappingProperty
- class CfnConnectionType.ResponseExtractionMappingProperty(*, content_path=None, header_key=None)
Bases:
objectDefines how to extract values from HTTP responses.
- Parameters:
content_path (
Optional[str]) – A JSON path expression to extract a value from response body.header_key (
Optional[str]) – The name of an HTTP response header from which to extract the value.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue response_extraction_mapping_property = glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" )
Attributes
- content_path
A JSON path expression to extract a value from response body.
- header_key
The name of an HTTP response header from which to extract the value.
RestConfigurationProperty
- class CfnConnectionType.RestConfigurationProperty(*, entity_configurations=None, global_source_configuration=None, validation_endpoint_configuration=None)
Bases:
objectConfiguration for HTTP request and response handling.
- Parameters:
entity_configurations (
Union[IResolvable,Mapping[str,Union[IResolvable,EntityConfigurationProperty,Dict[str,Any]]],None]) – A map of entity configurations.global_source_configuration (
Union[IResolvable,SourceConfigurationProperty,Dict[str,Any],None]) – Configuration that defines how to make requests to endpoints.validation_endpoint_configuration (
Union[IResolvable,ValidationEndpointConfigurationProperty,Dict[str,Any],None]) – Configuration for the validation endpoint. Only supports RequestMethod and RequestPath.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue rest_configuration_property = glue.CfnConnectionType.RestConfigurationProperty( entity_configurations={ "entity_configurations_key": glue.CfnConnectionType.EntityConfigurationProperty( schema={ "schema_key": glue.CfnConnectionType.FieldDefinitionProperty( field_data_type="fieldDataType", name="name", # the properties below are optional filter_overrides=glue.CfnConnectionType.FilterOverridesProperty( between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", field_name="fieldName", operator_mappings={ "operator_mappings_key": "operatorMappings" } ), is_nullable=False, is_orderable=False, is_partitionable=False, is_queryable=False, response_date_format="responseDateFormat" ) }, source_configuration=glue.CfnConnectionType.SourceConfigurationProperty( filter_configuration=glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False ), pagination_configuration=glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) ), request_method="requestMethod", request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], request_path="requestPath", response_configuration=glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" ) ) ) }, global_source_configuration=glue.CfnConnectionType.SourceConfigurationProperty( filter_configuration=glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False ), pagination_configuration=glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) ), request_method="requestMethod", request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], request_path="requestPath", response_configuration=glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" ) ), validation_endpoint_configuration=glue.CfnConnectionType.ValidationEndpointConfigurationProperty( request_method="requestMethod", request_path="requestPath" ) )
Attributes
- entity_configurations
A map of entity configurations.
- global_source_configuration
Configuration that defines how to make requests to endpoints.
- validation_endpoint_configuration
Configuration for the validation endpoint.
Only supports RequestMethod and RequestPath.
SecretConnectorPropertyProperty
- class CfnConnectionType.SecretConnectorPropertyProperty(*, name, property_type, required, key_override=None, property_location=None)
Bases:
objectDefines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
- Parameters:
name (
str) – The name of the property.property_type (
str) – The data type of this property. Must be SECRET for secret properties.required (
Union[bool,IResolvable]) – Indicates whether the property is required.key_override (
Optional[str]) – A key name to use when sending this property in API requests.property_location (
Optional[str]) – Specifies where this property should be included in REST requests.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue secret_connector_property_property = glue.CfnConnectionType.SecretConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional key_override="keyOverride", property_location="propertyLocation" )
Attributes
- key_override
A key name to use when sending this property in API requests.
- name
The name of the property.
- property_location
Specifies where this property should be included in REST requests.
- property_type
The data type of this property.
Must be SECRET for secret properties.
- required
Indicates whether the property is required.
SourceConfigurationProperty
- class CfnConnectionType.SourceConfigurationProperty(*, filter_configuration=None, pagination_configuration=None, request_method=None, request_parameters=None, request_path=None, response_configuration=None)
Bases:
objectConfiguration that defines how to make requests to endpoints.
- Parameters:
filter_configuration (
Union[IResolvable,FilterConfigurationProperty,Dict[str,Any],None]) – Configuration that defines how filter predicates are applied to REST API requests, supporting both query parameter and filter string strategies.pagination_configuration (
Union[IResolvable,PaginationConfigurationProperty,Dict[str,Any],None]) – Configuration for handling paginated responses.request_method (
Optional[str]) – The HTTP method to use.request_parameters (
Union[IResolvable,Sequence[Union[IResolvable,ConnectorPropertyProperty,Dict[str,Any]]],None]) – Request parameters configuration.request_path (
Optional[str]) – The URL path for the REST endpoint.response_configuration (
Union[IResolvable,ResponseConfigurationProperty,Dict[str,Any],None]) – Configuration for parsing JSON responses from REST API calls.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue source_configuration_property = glue.CfnConnectionType.SourceConfigurationProperty( filter_configuration=glue.CfnConnectionType.FilterConfigurationProperty( filter_mode="filterMode", # the properties below are optional between_configuration=glue.CfnConnectionType.BetweenConfigurationProperty( high_bound_key="highBoundKey", low_bound_key="lowBoundKey", template="template" ), date_time_format="dateTimeFormat", filter_string_configuration=glue.CfnConnectionType.FilterStringConfigurationProperty( query_parameter_name="queryParameterName", # the properties below are optional quote_character="quoteCharacter", quote_string_values=False ), operator_mappings={ "operator_mappings_key": "operatorMappings" }, strip_quotes=False ), pagination_configuration=glue.CfnConnectionType.PaginationConfigurationProperty( cursor_configuration=glue.CfnConnectionType.CursorConfigurationProperty( next_page=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), # the properties below are optional limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ), offset_configuration=glue.CfnConnectionType.OffsetConfigurationProperty( limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ), offset_parameter=glue.CfnConnectionType.ExtractedParameterProperty( default_value="defaultValue", key="key", property_location="propertyLocation", value=glue.CfnConnectionType.ResponseExtractionMappingProperty( content_path="contentPath", header_key="headerKey" ) ) ) ), request_method="requestMethod", request_parameters=[glue.CfnConnectionType.ConnectorPropertyProperty( name="name", property_type="propertyType", required=False, # the properties below are optional allowed_values=["allowedValues"], default_value="defaultValue", key_override="keyOverride", property_location="propertyLocation" )], request_path="requestPath", response_configuration=glue.CfnConnectionType.ResponseConfigurationProperty( result_path="resultPath", # the properties below are optional error_path="errorPath" ) )
Attributes
- filter_configuration
Configuration that defines how filter predicates are applied to REST API requests, supporting both query parameter and filter string strategies.
- pagination_configuration
Configuration for handling paginated responses.
- request_method
The HTTP method to use.
- request_parameters
Request parameters configuration.
- request_path
The URL path for the REST endpoint.
- response_configuration
Configuration for parsing JSON responses from REST API calls.
ValidationEndpointConfigurationProperty
- class CfnConnectionType.ValidationEndpointConfigurationProperty(*, request_method=None, request_path=None)
Bases:
objectConfiguration for the validation endpoint.
Only supports RequestMethod and RequestPath.
- Parameters:
request_method (
Optional[str]) – The HTTP method to use.request_path (
Optional[str]) – The URL path for the REST endpoint.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue validation_endpoint_configuration_property = glue.CfnConnectionType.ValidationEndpointConfigurationProperty( request_method="requestMethod", request_path="requestPath" )
Attributes
- request_method
The HTTP method to use.
- request_path
The URL path for the REST endpoint.