aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +87 -0
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +229 -6
- aws_cdk/aws_apigatewayv2/__init__.py +60 -2
- aws_cdk/aws_appconfig/__init__.py +145 -0
- aws_cdk/aws_appflow/__init__.py +116 -0
- aws_cdk/aws_appintegrations/__init__.py +116 -0
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +101 -4
- aws_cdk/aws_appsync/__init__.py +61 -3
- aws_cdk/aws_apptest/__init__.py +58 -0
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_athena/__init__.py +58 -0
- aws_cdk/aws_auditmanager/__init__.py +58 -0
- aws_cdk/aws_backup/__init__.py +145 -0
- aws_cdk/aws_batch/__init__.py +64 -2
- aws_cdk/aws_bedrock/__init__.py +277 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_cassandra/__init__.py +29 -0
- aws_cdk/aws_certificatemanager/__init__.py +38 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +69 -8
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
- aws_cdk/aws_cloudtrail/__init__.py +58 -0
- aws_cdk/aws_cloudwatch/__init__.py +145 -0
- aws_cdk/aws_codebuild/__init__.py +115 -12
- aws_cdk/aws_codedeploy/__init__.py +29 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
- aws_cdk/aws_codepipeline/__init__.py +29 -0
- aws_cdk/aws_cognito/__init__.py +89 -2
- aws_cdk/aws_config/__init__.py +58 -0
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +86 -3
- aws_cdk/aws_customerprofiles/__init__.py +58 -0
- aws_cdk/aws_datapipeline/__init__.py +29 -0
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +733 -2
- aws_cdk/aws_directoryservice/__init__.py +29 -0
- aws_cdk/aws_dms/__init__.py +58 -0
- aws_cdk/aws_docdb/__init__.py +153 -25
- aws_cdk/aws_dsql/__init__.py +29 -0
- aws_cdk/aws_dynamodb/__init__.py +181 -0
- aws_cdk/aws_ec2/__init__.py +2031 -10
- aws_cdk/aws_ecr/__init__.py +116 -0
- aws_cdk/aws_ecs/__init__.py +142 -12
- aws_cdk/aws_efs/__init__.py +116 -0
- aws_cdk/aws_eks/__init__.py +118 -0
- aws_cdk/aws_elasticache/__init__.py +261 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +87 -0
- aws_cdk/aws_emrcontainers/__init__.py +58 -0
- aws_cdk/aws_emrserverless/__init__.py +58 -0
- aws_cdk/aws_entityresolution/__init__.py +145 -0
- aws_cdk/aws_events/__init__.py +290 -0
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_finspace/__init__.py +58 -0
- aws_cdk/aws_gamelift/__init__.py +507 -56
- aws_cdk/aws_glue/__init__.py +145 -0
- aws_cdk/aws_greengrass/__init__.py +464 -0
- aws_cdk/aws_groundstation/__init__.py +87 -0
- aws_cdk/aws_guardduty/__init__.py +87 -0
- aws_cdk/aws_healthimaging/__init__.py +58 -0
- aws_cdk/aws_healthlake/__init__.py +29 -0
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +58 -0
- aws_cdk/aws_iot/__init__.py +957 -0
- aws_cdk/aws_iotanalytics/__init__.py +116 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
- aws_cdk/aws_iotevents/__init__.py +87 -0
- aws_cdk/aws_iotfleethub/__init__.py +58 -0
- aws_cdk/aws_iotfleetwise/__init__.py +116 -0
- aws_cdk/aws_iotsitewise/__init__.py +568 -111
- aws_cdk/aws_iottwinmaker/__init__.py +145 -0
- aws_cdk/aws_iotwireless/__init__.py +464 -0
- aws_cdk/aws_kendra/__init__.py +116 -0
- aws_cdk/aws_kinesis/__init__.py +58 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
- aws_cdk/aws_kinesisvideo/__init__.py +29 -0
- aws_cdk/aws_kms/__init__.py +68 -2
- aws_cdk/aws_lambda/__init__.py +104 -0
- aws_cdk/aws_lex/__init__.py +29 -0
- aws_cdk/aws_location/__init__.py +348 -0
- aws_cdk/aws_logs/__init__.py +232 -0
- aws_cdk/aws_lookoutequipment/__init__.py +29 -0
- aws_cdk/aws_lookoutvision/__init__.py +58 -0
- aws_cdk/aws_managedblockchain/__init__.py +145 -0
- aws_cdk/aws_medialive/__init__.py +562 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_mediatailor/__init__.py +174 -0
- aws_cdk/aws_memorydb/__init__.py +203 -0
- aws_cdk/aws_mwaa/__init__.py +58 -0
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +92 -0
- aws_cdk/aws_nimblestudio/__init__.py +29 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1520 -103
- aws_cdk/aws_opensearchserverless/__init__.py +222 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_opsworks/__init__.py +29 -0
- aws_cdk/aws_opsworkscm/__init__.py +29 -0
- aws_cdk/aws_organizations/__init__.py +116 -0
- aws_cdk/aws_panorama/__init__.py +116 -0
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_pinpoint/__init__.py +116 -0
- aws_cdk/aws_qbusiness/__init__.py +232 -0
- aws_cdk/aws_qldb/__init__.py +29 -0
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +402 -58
- aws_cdk/aws_redshift/__init__.py +29 -0
- aws_cdk/aws_rekognition/__init__.py +87 -0
- aws_cdk/aws_resourcegroups/__init__.py +58 -0
- aws_cdk/aws_rolesanywhere/__init__.py +145 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
- aws_cdk/aws_route53resolver/__init__.py +29 -0
- aws_cdk/aws_s3/__init__.py +116 -0
- aws_cdk/aws_s3express/__init__.py +116 -0
- aws_cdk/aws_sagemaker/__init__.py +715 -1
- aws_cdk/aws_scheduler/__init__.py +29 -0
- aws_cdk/aws_secretsmanager/__init__.py +29 -0
- aws_cdk/aws_servicecatalog/__init__.py +191 -154
- aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
- aws_cdk/aws_servicediscovery/__init__.py +58 -0
- aws_cdk/aws_ses/__init__.py +261 -0
- aws_cdk/aws_simspaceweaver/__init__.py +29 -0
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_ssm/__init__.py +87 -0
- aws_cdk/aws_synthetics/__init__.py +29 -0
- aws_cdk/aws_timestream/__init__.py +87 -0
- aws_cdk/aws_transfer/__init__.py +274 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
- aws_cdk/aws_voiceid/__init__.py +29 -0
- aws_cdk/aws_wisdom/__init__.py +232 -0
- aws_cdk/aws_workspaces/__init__.py +58 -0
- aws_cdk/aws_workspacesinstances/__init__.py +670 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
- aws_cdk/pipelines/__init__.py +5 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -1008,7 +1008,7 @@ class CfnServerProps:
|
|
|
1008
1008
|
) -> None:
|
|
1009
1009
|
'''Properties for defining a ``CfnServer``.
|
|
1010
1010
|
|
|
1011
|
-
:param certificate: The Amazon Resource Name (ARN) of the
|
|
1011
|
+
:param certificate: The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate. Required when ``Protocols`` is set to ``FTPS`` . To request a new public certificate, see `Request a public certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html>`_ in the *Certificate Manager User Guide* . To import an existing certificate into ACM, see `Importing certificates into ACM <https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html>`_ in the *Certificate Manager User Guide* . To request a private certificate to use FTPS through private IP addresses, see `Request a private certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html>`_ in the *Certificate Manager User Guide* . Certificates with the following cryptographic algorithms and key sizes are supported: - 2048-bit RSA (RSA_2048) - 4096-bit RSA (RSA_4096) - Elliptic Prime Curve 256 bit (EC_prime256v1) - Elliptic Prime Curve 384 bit (EC_secp384r1) - Elliptic Prime Curve 521 bit (EC_secp521r1) .. epigraph:: The certificate must be a valid SSL/TLS X.509 version 3 certificate with FQDN or IP address specified and information about the issuer.
|
|
1012
1012
|
:param domain: Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.
|
|
1013
1013
|
:param endpoint_details: The virtual private cloud (VPC) endpoint settings that are configured for your server. When you host your endpoint within your VPC, you can make your endpoint accessible only to resources within your VPC, or you can attach Elastic IP addresses and make your endpoint accessible to clients over the internet. Your VPC's default security groups are automatically assigned to your endpoint.
|
|
1014
1014
|
:param endpoint_type: The type of endpoint that you want your server to use. You can choose to make your server's endpoint publicly accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can restrict access to your server and resources only within your VPC or choose to make it internet facing by attaching Elastic IP addresses directly to it. .. epigraph:: After May 19, 2021, you won't be able to create a server using ``EndpointType=VPC_ENDPOINT`` in your AWS account if your account hasn't already done so before May 19, 2021. If you have already created servers with ``EndpointType=VPC_ENDPOINT`` in your AWS account on or before May 19, 2021, you will not be affected. After this date, use ``EndpointType`` = ``VPC`` . For more information, see `Discontinuing the use of VPC_ENDPOINT <https://docs.aws.amazon.com//transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint>`_ . It is recommended that you use ``VPC`` as the ``EndpointType`` . With this endpoint type, you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible with ``EndpointType`` set to ``VPC_ENDPOINT`` .
|
|
@@ -1019,7 +1019,7 @@ class CfnServerProps:
|
|
|
1019
1019
|
:param post_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed after the user authenticates. .. epigraph:: The SFTP protocol does not support post-authentication display banners.
|
|
1020
1020
|
:param pre_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system: ``This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.``
|
|
1021
1021
|
:param protocol_details: The protocol settings that are configured for your server. - To indicate passive mode (for FTP and FTPS protocols), use the ``PassiveIp`` parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to use the ``SETSTAT`` command on a file that you are uploading to an Amazon S3 bucket, use the ``SetStatOption`` parameter. To have the AWS Transfer Family server ignore the ``SETSTAT`` command and upload files without needing to make any changes to your SFTP client, set the value to ``ENABLE_NO_OP`` . If you set the ``SetStatOption`` parameter to ``ENABLE_NO_OP`` , Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a ``SETSTAT`` call. - To determine whether your AWS Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the ``TlsSessionResumptionMode`` parameter. - ``As2Transports`` indicates the transport method for the AS2 messages. Currently, only HTTP is supported. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
1022
|
-
:param protocols: Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: - ``SFTP`` (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH - ``FTPS`` (File Transfer Protocol Secure): File transfer with TLS encryption - ``FTP`` (File Transfer Protocol): Unencrypted file transfer - ``AS2`` (Applicability Statement 2): used for transporting structured business-to-business data .. epigraph:: - If you select ``FTPS`` , you must choose a certificate stored in
|
|
1022
|
+
:param protocols: Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: - ``SFTP`` (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH - ``FTPS`` (File Transfer Protocol Secure): File transfer with TLS encryption - ``FTP`` (File Transfer Protocol): Unencrypted file transfer - ``AS2`` (Applicability Statement 2): used for transporting structured business-to-business data .. epigraph:: - If you select ``FTPS`` , you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. - If ``Protocol`` includes either ``FTP`` or ``FTPS`` , then the ``EndpointType`` must be ``VPC`` and the ``IdentityProviderType`` must be either ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``FTP`` , then ``AddressAllocationIds`` cannot be associated. - If ``Protocol`` is set only to ``SFTP`` , the ``EndpointType`` can be set to ``PUBLIC`` and the ``IdentityProviderType`` can be set any of the supported identity types: ``SERVICE_MANAGED`` , ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``AS2`` , then the ``EndpointType`` must be ``VPC`` , and domain must be Amazon S3. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
1023
1023
|
:param s3_storage_options: Specifies whether or not performance for your Amazon S3 directories is optimized. - If using the console, this is enabled by default. - If using the API or CLI, this is disabled by default. By default, home directory mappings have a ``TYPE`` of ``DIRECTORY`` . If you enable this option, you would then need to explicitly set the ``HomeDirectoryMapEntry`` ``Type`` to ``FILE`` if you want a mapping to have a file target.
|
|
1024
1024
|
:param security_policy_name: Specifies the name of the security policy for the server.
|
|
1025
1025
|
:param structured_log_destinations: Specifies the log groups to which your server logs are sent. To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows: ``arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*`` For example, ``arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*`` If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an ``update-server`` call. For example: ``update-server --server-id s-1234567890abcdef0 --structured-log-destinations``
|
|
@@ -1143,15 +1143,13 @@ class CfnServerProps:
|
|
|
1143
1143
|
|
|
1144
1144
|
@builtins.property
|
|
1145
1145
|
def certificate(self) -> typing.Optional[builtins.str]:
|
|
1146
|
-
'''The Amazon Resource Name (ARN) of the
|
|
1146
|
+
'''The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate. Required when ``Protocols`` is set to ``FTPS`` .
|
|
1147
1147
|
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
To request a new public certificate, see `Request a public certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html>`_ in the *AWS Certificate Manager User Guide* .
|
|
1148
|
+
To request a new public certificate, see `Request a public certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html>`_ in the *Certificate Manager User Guide* .
|
|
1151
1149
|
|
|
1152
|
-
To import an existing certificate into ACM, see `Importing certificates into ACM <https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html>`_ in the *
|
|
1150
|
+
To import an existing certificate into ACM, see `Importing certificates into ACM <https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html>`_ in the *Certificate Manager User Guide* .
|
|
1153
1151
|
|
|
1154
|
-
To request a private certificate to use FTPS through private IP addresses, see `Request a private certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html>`_ in the *
|
|
1152
|
+
To request a private certificate to use FTPS through private IP addresses, see `Request a private certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html>`_ in the *Certificate Manager User Guide* .
|
|
1155
1153
|
|
|
1156
1154
|
Certificates with the following cryptographic algorithms and key sizes are supported:
|
|
1157
1155
|
|
|
@@ -1329,7 +1327,7 @@ class CfnServerProps:
|
|
|
1329
1327
|
|
|
1330
1328
|
.. epigraph::
|
|
1331
1329
|
|
|
1332
|
-
- If you select ``FTPS`` , you must choose a certificate stored in
|
|
1330
|
+
- If you select ``FTPS`` , you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS.
|
|
1333
1331
|
- If ``Protocol`` includes either ``FTP`` or ``FTPS`` , then the ``EndpointType`` must be ``VPC`` and the ``IdentityProviderType`` must be either ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` .
|
|
1334
1332
|
- If ``Protocol`` includes ``FTP`` , then ``AddressAllocationIds`` cannot be associated.
|
|
1335
1333
|
- If ``Protocol`` is set only to ``SFTP`` , the ``EndpointType`` can be set to ``PUBLIC`` and the ``IdentityProviderType`` can be set any of the supported identity types: ``SERVICE_MANAGED`` , ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` .
|
|
@@ -2796,6 +2794,27 @@ class CfnAgreement(
|
|
|
2796
2794
|
|
|
2797
2795
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2798
2796
|
|
|
2797
|
+
@jsii.member(jsii_name="fromAgreementArn")
|
|
2798
|
+
@builtins.classmethod
|
|
2799
|
+
def from_agreement_arn(
|
|
2800
|
+
cls,
|
|
2801
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2802
|
+
id: builtins.str,
|
|
2803
|
+
arn: builtins.str,
|
|
2804
|
+
) -> IAgreementRef:
|
|
2805
|
+
'''Creates a new IAgreementRef from an ARN.
|
|
2806
|
+
|
|
2807
|
+
:param scope: -
|
|
2808
|
+
:param id: -
|
|
2809
|
+
:param arn: -
|
|
2810
|
+
'''
|
|
2811
|
+
if __debug__:
|
|
2812
|
+
type_hints = typing.get_type_hints(_typecheckingstub__49865972fac7cf97b37625ebb0dab09d88b56b9f2dd79d90fc649828bfc624ff)
|
|
2813
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2814
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2815
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
2816
|
+
return typing.cast(IAgreementRef, jsii.sinvoke(cls, "fromAgreementArn", [scope, id, arn]))
|
|
2817
|
+
|
|
2799
2818
|
@jsii.member(jsii_name="inspect")
|
|
2800
2819
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2801
2820
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -3226,6 +3245,48 @@ class CfnCertificate(
|
|
|
3226
3245
|
|
|
3227
3246
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3228
3247
|
|
|
3248
|
+
@jsii.member(jsii_name="fromCertificateArn")
|
|
3249
|
+
@builtins.classmethod
|
|
3250
|
+
def from_certificate_arn(
|
|
3251
|
+
cls,
|
|
3252
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3253
|
+
id: builtins.str,
|
|
3254
|
+
arn: builtins.str,
|
|
3255
|
+
) -> ICertificateRef:
|
|
3256
|
+
'''Creates a new ICertificateRef from an ARN.
|
|
3257
|
+
|
|
3258
|
+
:param scope: -
|
|
3259
|
+
:param id: -
|
|
3260
|
+
:param arn: -
|
|
3261
|
+
'''
|
|
3262
|
+
if __debug__:
|
|
3263
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc4fb6b44e5c3b46d7a4b6d2cddd238e6967e5ba869d0beec1e241cd289794f0)
|
|
3264
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3265
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3266
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
3267
|
+
return typing.cast(ICertificateRef, jsii.sinvoke(cls, "fromCertificateArn", [scope, id, arn]))
|
|
3268
|
+
|
|
3269
|
+
@jsii.member(jsii_name="fromCertificateId")
|
|
3270
|
+
@builtins.classmethod
|
|
3271
|
+
def from_certificate_id(
|
|
3272
|
+
cls,
|
|
3273
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3274
|
+
id: builtins.str,
|
|
3275
|
+
certificate_id: builtins.str,
|
|
3276
|
+
) -> ICertificateRef:
|
|
3277
|
+
'''Creates a new ICertificateRef from a certificateId.
|
|
3278
|
+
|
|
3279
|
+
:param scope: -
|
|
3280
|
+
:param id: -
|
|
3281
|
+
:param certificate_id: -
|
|
3282
|
+
'''
|
|
3283
|
+
if __debug__:
|
|
3284
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5ac0c4753dbb35aa2c4992fbcf97129e0a6a0be0b5fee455f1416d86edcba9ea)
|
|
3285
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3286
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3287
|
+
check_type(argname="argument certificate_id", value=certificate_id, expected_type=type_hints["certificate_id"])
|
|
3288
|
+
return typing.cast(ICertificateRef, jsii.sinvoke(cls, "fromCertificateId", [scope, id, certificate_id]))
|
|
3289
|
+
|
|
3229
3290
|
@jsii.member(jsii_name="inspect")
|
|
3230
3291
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
3231
3292
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -3535,6 +3596,48 @@ class CfnConnector(
|
|
|
3535
3596
|
|
|
3536
3597
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3537
3598
|
|
|
3599
|
+
@jsii.member(jsii_name="fromConnectorArn")
|
|
3600
|
+
@builtins.classmethod
|
|
3601
|
+
def from_connector_arn(
|
|
3602
|
+
cls,
|
|
3603
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3604
|
+
id: builtins.str,
|
|
3605
|
+
arn: builtins.str,
|
|
3606
|
+
) -> IConnectorRef:
|
|
3607
|
+
'''Creates a new IConnectorRef from an ARN.
|
|
3608
|
+
|
|
3609
|
+
:param scope: -
|
|
3610
|
+
:param id: -
|
|
3611
|
+
:param arn: -
|
|
3612
|
+
'''
|
|
3613
|
+
if __debug__:
|
|
3614
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a59af73cca17d333ea4e8a725b5ea84947fbdf727ceaa58fb5d37dde8ba99e43)
|
|
3615
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3616
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3617
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
3618
|
+
return typing.cast(IConnectorRef, jsii.sinvoke(cls, "fromConnectorArn", [scope, id, arn]))
|
|
3619
|
+
|
|
3620
|
+
@jsii.member(jsii_name="fromConnectorId")
|
|
3621
|
+
@builtins.classmethod
|
|
3622
|
+
def from_connector_id(
|
|
3623
|
+
cls,
|
|
3624
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3625
|
+
id: builtins.str,
|
|
3626
|
+
connector_id: builtins.str,
|
|
3627
|
+
) -> IConnectorRef:
|
|
3628
|
+
'''Creates a new IConnectorRef from a connectorId.
|
|
3629
|
+
|
|
3630
|
+
:param scope: -
|
|
3631
|
+
:param id: -
|
|
3632
|
+
:param connector_id: -
|
|
3633
|
+
'''
|
|
3634
|
+
if __debug__:
|
|
3635
|
+
type_hints = typing.get_type_hints(_typecheckingstub__38a8932f140563c5eae5ee417477d8ef0fb37d560d4497ce233ca03fcfedea17)
|
|
3636
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3637
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3638
|
+
check_type(argname="argument connector_id", value=connector_id, expected_type=type_hints["connector_id"])
|
|
3639
|
+
return typing.cast(IConnectorRef, jsii.sinvoke(cls, "fromConnectorId", [scope, id, connector_id]))
|
|
3640
|
+
|
|
3538
3641
|
@jsii.member(jsii_name="inspect")
|
|
3539
3642
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
3540
3643
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4130,6 +4233,48 @@ class CfnProfile(
|
|
|
4130
4233
|
|
|
4131
4234
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
4132
4235
|
|
|
4236
|
+
@jsii.member(jsii_name="fromProfileArn")
|
|
4237
|
+
@builtins.classmethod
|
|
4238
|
+
def from_profile_arn(
|
|
4239
|
+
cls,
|
|
4240
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4241
|
+
id: builtins.str,
|
|
4242
|
+
arn: builtins.str,
|
|
4243
|
+
) -> IProfileRef:
|
|
4244
|
+
'''Creates a new IProfileRef from an ARN.
|
|
4245
|
+
|
|
4246
|
+
:param scope: -
|
|
4247
|
+
:param id: -
|
|
4248
|
+
:param arn: -
|
|
4249
|
+
'''
|
|
4250
|
+
if __debug__:
|
|
4251
|
+
type_hints = typing.get_type_hints(_typecheckingstub__06008f4a63def34bd89f1208264539fe9dfb8dc17a9fd244d185273546799142)
|
|
4252
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4253
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4254
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
4255
|
+
return typing.cast(IProfileRef, jsii.sinvoke(cls, "fromProfileArn", [scope, id, arn]))
|
|
4256
|
+
|
|
4257
|
+
@jsii.member(jsii_name="fromProfileId")
|
|
4258
|
+
@builtins.classmethod
|
|
4259
|
+
def from_profile_id(
|
|
4260
|
+
cls,
|
|
4261
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4262
|
+
id: builtins.str,
|
|
4263
|
+
profile_id: builtins.str,
|
|
4264
|
+
) -> IProfileRef:
|
|
4265
|
+
'''Creates a new IProfileRef from a profileId.
|
|
4266
|
+
|
|
4267
|
+
:param scope: -
|
|
4268
|
+
:param id: -
|
|
4269
|
+
:param profile_id: -
|
|
4270
|
+
'''
|
|
4271
|
+
if __debug__:
|
|
4272
|
+
type_hints = typing.get_type_hints(_typecheckingstub__feb8675e38aa0953f2ede297f189ff49cd5a30c0b0176aac11fd742a2fda9b49)
|
|
4273
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4274
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4275
|
+
check_type(argname="argument profile_id", value=profile_id, expected_type=type_hints["profile_id"])
|
|
4276
|
+
return typing.cast(IProfileRef, jsii.sinvoke(cls, "fromProfileId", [scope, id, profile_id]))
|
|
4277
|
+
|
|
4133
4278
|
@jsii.member(jsii_name="inspect")
|
|
4134
4279
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4135
4280
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4349,7 +4494,7 @@ class CfnServer(
|
|
|
4349
4494
|
'''
|
|
4350
4495
|
:param scope: Scope in which this resource is defined.
|
|
4351
4496
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4352
|
-
:param certificate: The Amazon Resource Name (ARN) of the
|
|
4497
|
+
:param certificate: The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate. Required when ``Protocols`` is set to ``FTPS`` . To request a new public certificate, see `Request a public certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html>`_ in the *Certificate Manager User Guide* . To import an existing certificate into ACM, see `Importing certificates into ACM <https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html>`_ in the *Certificate Manager User Guide* . To request a private certificate to use FTPS through private IP addresses, see `Request a private certificate <https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html>`_ in the *Certificate Manager User Guide* . Certificates with the following cryptographic algorithms and key sizes are supported: - 2048-bit RSA (RSA_2048) - 4096-bit RSA (RSA_4096) - Elliptic Prime Curve 256 bit (EC_prime256v1) - Elliptic Prime Curve 384 bit (EC_secp384r1) - Elliptic Prime Curve 521 bit (EC_secp521r1) .. epigraph:: The certificate must be a valid SSL/TLS X.509 version 3 certificate with FQDN or IP address specified and information about the issuer.
|
|
4353
4498
|
:param domain: Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.
|
|
4354
4499
|
:param endpoint_details: The virtual private cloud (VPC) endpoint settings that are configured for your server. When you host your endpoint within your VPC, you can make your endpoint accessible only to resources within your VPC, or you can attach Elastic IP addresses and make your endpoint accessible to clients over the internet. Your VPC's default security groups are automatically assigned to your endpoint.
|
|
4355
4500
|
:param endpoint_type: The type of endpoint that you want your server to use. You can choose to make your server's endpoint publicly accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can restrict access to your server and resources only within your VPC or choose to make it internet facing by attaching Elastic IP addresses directly to it. .. epigraph:: After May 19, 2021, you won't be able to create a server using ``EndpointType=VPC_ENDPOINT`` in your AWS account if your account hasn't already done so before May 19, 2021. If you have already created servers with ``EndpointType=VPC_ENDPOINT`` in your AWS account on or before May 19, 2021, you will not be affected. After this date, use ``EndpointType`` = ``VPC`` . For more information, see `Discontinuing the use of VPC_ENDPOINT <https://docs.aws.amazon.com//transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint>`_ . It is recommended that you use ``VPC`` as the ``EndpointType`` . With this endpoint type, you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible with ``EndpointType`` set to ``VPC_ENDPOINT`` .
|
|
@@ -4360,7 +4505,7 @@ class CfnServer(
|
|
|
4360
4505
|
:param post_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed after the user authenticates. .. epigraph:: The SFTP protocol does not support post-authentication display banners.
|
|
4361
4506
|
:param pre_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system: ``This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.``
|
|
4362
4507
|
:param protocol_details: The protocol settings that are configured for your server. - To indicate passive mode (for FTP and FTPS protocols), use the ``PassiveIp`` parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to use the ``SETSTAT`` command on a file that you are uploading to an Amazon S3 bucket, use the ``SetStatOption`` parameter. To have the AWS Transfer Family server ignore the ``SETSTAT`` command and upload files without needing to make any changes to your SFTP client, set the value to ``ENABLE_NO_OP`` . If you set the ``SetStatOption`` parameter to ``ENABLE_NO_OP`` , Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a ``SETSTAT`` call. - To determine whether your AWS Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the ``TlsSessionResumptionMode`` parameter. - ``As2Transports`` indicates the transport method for the AS2 messages. Currently, only HTTP is supported. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
4363
|
-
:param protocols: Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: - ``SFTP`` (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH - ``FTPS`` (File Transfer Protocol Secure): File transfer with TLS encryption - ``FTP`` (File Transfer Protocol): Unencrypted file transfer - ``AS2`` (Applicability Statement 2): used for transporting structured business-to-business data .. epigraph:: - If you select ``FTPS`` , you must choose a certificate stored in
|
|
4508
|
+
:param protocols: Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: - ``SFTP`` (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH - ``FTPS`` (File Transfer Protocol Secure): File transfer with TLS encryption - ``FTP`` (File Transfer Protocol): Unencrypted file transfer - ``AS2`` (Applicability Statement 2): used for transporting structured business-to-business data .. epigraph:: - If you select ``FTPS`` , you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. - If ``Protocol`` includes either ``FTP`` or ``FTPS`` , then the ``EndpointType`` must be ``VPC`` and the ``IdentityProviderType`` must be either ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``FTP`` , then ``AddressAllocationIds`` cannot be associated. - If ``Protocol`` is set only to ``SFTP`` , the ``EndpointType`` can be set to ``PUBLIC`` and the ``IdentityProviderType`` can be set any of the supported identity types: ``SERVICE_MANAGED`` , ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``AS2`` , then the ``EndpointType`` must be ``VPC`` , and domain must be Amazon S3. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
4364
4509
|
:param s3_storage_options: Specifies whether or not performance for your Amazon S3 directories is optimized. - If using the console, this is enabled by default. - If using the API or CLI, this is disabled by default. By default, home directory mappings have a ``TYPE`` of ``DIRECTORY`` . If you enable this option, you would then need to explicitly set the ``HomeDirectoryMapEntry`` ``Type`` to ``FILE`` if you want a mapping to have a file target.
|
|
4365
4510
|
:param security_policy_name: Specifies the name of the security policy for the server.
|
|
4366
4511
|
:param structured_log_destinations: Specifies the log groups to which your server logs are sent. To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows: ``arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*`` For example, ``arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*`` If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an ``update-server`` call. For example: ``update-server --server-id s-1234567890abcdef0 --structured-log-destinations``
|
|
@@ -4487,7 +4632,10 @@ class CfnServer(
|
|
|
4487
4632
|
@builtins.property
|
|
4488
4633
|
@jsii.member(jsii_name="certificate")
|
|
4489
4634
|
def certificate(self) -> typing.Optional[builtins.str]:
|
|
4490
|
-
'''The Amazon Resource Name (ARN) of the
|
|
4635
|
+
'''The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate.
|
|
4636
|
+
|
|
4637
|
+
Required when ``Protocols`` is set to ``FTPS`` .
|
|
4638
|
+
'''
|
|
4491
4639
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "certificate"))
|
|
4492
4640
|
|
|
4493
4641
|
@certificate.setter
|
|
@@ -6513,6 +6661,48 @@ class CfnWorkflow(
|
|
|
6513
6661
|
|
|
6514
6662
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
6515
6663
|
|
|
6664
|
+
@jsii.member(jsii_name="fromWorkflowArn")
|
|
6665
|
+
@builtins.classmethod
|
|
6666
|
+
def from_workflow_arn(
|
|
6667
|
+
cls,
|
|
6668
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6669
|
+
id: builtins.str,
|
|
6670
|
+
arn: builtins.str,
|
|
6671
|
+
) -> IWorkflowRef:
|
|
6672
|
+
'''Creates a new IWorkflowRef from an ARN.
|
|
6673
|
+
|
|
6674
|
+
:param scope: -
|
|
6675
|
+
:param id: -
|
|
6676
|
+
:param arn: -
|
|
6677
|
+
'''
|
|
6678
|
+
if __debug__:
|
|
6679
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fe53c79c7532b3619e6be4cd157702c5cab36a8777950667b5647332a0038621)
|
|
6680
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6681
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6682
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
6683
|
+
return typing.cast(IWorkflowRef, jsii.sinvoke(cls, "fromWorkflowArn", [scope, id, arn]))
|
|
6684
|
+
|
|
6685
|
+
@jsii.member(jsii_name="fromWorkflowId")
|
|
6686
|
+
@builtins.classmethod
|
|
6687
|
+
def from_workflow_id(
|
|
6688
|
+
cls,
|
|
6689
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6690
|
+
id: builtins.str,
|
|
6691
|
+
workflow_id: builtins.str,
|
|
6692
|
+
) -> IWorkflowRef:
|
|
6693
|
+
'''Creates a new IWorkflowRef from a workflowId.
|
|
6694
|
+
|
|
6695
|
+
:param scope: -
|
|
6696
|
+
:param id: -
|
|
6697
|
+
:param workflow_id: -
|
|
6698
|
+
'''
|
|
6699
|
+
if __debug__:
|
|
6700
|
+
type_hints = typing.get_type_hints(_typecheckingstub__42c6ff2311d814991108aadd101319b04b1b334b1daf50bcd421d633d00c8645)
|
|
6701
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6702
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6703
|
+
check_type(argname="argument workflow_id", value=workflow_id, expected_type=type_hints["workflow_id"])
|
|
6704
|
+
return typing.cast(IWorkflowRef, jsii.sinvoke(cls, "fromWorkflowId", [scope, id, workflow_id]))
|
|
6705
|
+
|
|
6516
6706
|
@jsii.member(jsii_name="inspect")
|
|
6517
6707
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
6518
6708
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -7989,6 +8179,14 @@ def _typecheckingstub__f95ec07e6c4ee624e4f9374f7db0e66b46af64fa8c86e2e41aa290c72
|
|
|
7989
8179
|
"""Type checking stubs"""
|
|
7990
8180
|
pass
|
|
7991
8181
|
|
|
8182
|
+
def _typecheckingstub__49865972fac7cf97b37625ebb0dab09d88b56b9f2dd79d90fc649828bfc624ff(
|
|
8183
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8184
|
+
id: builtins.str,
|
|
8185
|
+
arn: builtins.str,
|
|
8186
|
+
) -> None:
|
|
8187
|
+
"""Type checking stubs"""
|
|
8188
|
+
pass
|
|
8189
|
+
|
|
7992
8190
|
def _typecheckingstub__228db9cea00437d476e4860ef1214693d948e861477e0b0435205c3df9bf79f1(
|
|
7993
8191
|
inspector: _TreeInspector_488e0dd5,
|
|
7994
8192
|
) -> None:
|
|
@@ -8094,6 +8292,22 @@ def _typecheckingstub__0f95ee160137bed43b6b325f0de8dc95bc0d10db792e4492913f9d664
|
|
|
8094
8292
|
"""Type checking stubs"""
|
|
8095
8293
|
pass
|
|
8096
8294
|
|
|
8295
|
+
def _typecheckingstub__dc4fb6b44e5c3b46d7a4b6d2cddd238e6967e5ba869d0beec1e241cd289794f0(
|
|
8296
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8297
|
+
id: builtins.str,
|
|
8298
|
+
arn: builtins.str,
|
|
8299
|
+
) -> None:
|
|
8300
|
+
"""Type checking stubs"""
|
|
8301
|
+
pass
|
|
8302
|
+
|
|
8303
|
+
def _typecheckingstub__5ac0c4753dbb35aa2c4992fbcf97129e0a6a0be0b5fee455f1416d86edcba9ea(
|
|
8304
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8305
|
+
id: builtins.str,
|
|
8306
|
+
certificate_id: builtins.str,
|
|
8307
|
+
) -> None:
|
|
8308
|
+
"""Type checking stubs"""
|
|
8309
|
+
pass
|
|
8310
|
+
|
|
8097
8311
|
def _typecheckingstub__f1474a816abc465fbde815216c7dd03f20d910c99fb002aee78d0f01c8d4f55c(
|
|
8098
8312
|
inspector: _TreeInspector_488e0dd5,
|
|
8099
8313
|
) -> None:
|
|
@@ -8169,6 +8383,22 @@ def _typecheckingstub__2a3d92be7ab611ebe6dbf531ad899c2a95b3655fb829aeffdf52fdb11
|
|
|
8169
8383
|
"""Type checking stubs"""
|
|
8170
8384
|
pass
|
|
8171
8385
|
|
|
8386
|
+
def _typecheckingstub__a59af73cca17d333ea4e8a725b5ea84947fbdf727ceaa58fb5d37dde8ba99e43(
|
|
8387
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8388
|
+
id: builtins.str,
|
|
8389
|
+
arn: builtins.str,
|
|
8390
|
+
) -> None:
|
|
8391
|
+
"""Type checking stubs"""
|
|
8392
|
+
pass
|
|
8393
|
+
|
|
8394
|
+
def _typecheckingstub__38a8932f140563c5eae5ee417477d8ef0fb37d560d4497ce233ca03fcfedea17(
|
|
8395
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8396
|
+
id: builtins.str,
|
|
8397
|
+
connector_id: builtins.str,
|
|
8398
|
+
) -> None:
|
|
8399
|
+
"""Type checking stubs"""
|
|
8400
|
+
pass
|
|
8401
|
+
|
|
8172
8402
|
def _typecheckingstub__72a4f5bff2b8dd506b9f1b6f0cd274f6a295704751fa097cd5e1cf149d089e94(
|
|
8173
8403
|
inspector: _TreeInspector_488e0dd5,
|
|
8174
8404
|
) -> None:
|
|
@@ -8260,6 +8490,22 @@ def _typecheckingstub__f5b82428b7fd1ac13f1a57b868694175d216c1f61c671da5b091d46d8
|
|
|
8260
8490
|
"""Type checking stubs"""
|
|
8261
8491
|
pass
|
|
8262
8492
|
|
|
8493
|
+
def _typecheckingstub__06008f4a63def34bd89f1208264539fe9dfb8dc17a9fd244d185273546799142(
|
|
8494
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8495
|
+
id: builtins.str,
|
|
8496
|
+
arn: builtins.str,
|
|
8497
|
+
) -> None:
|
|
8498
|
+
"""Type checking stubs"""
|
|
8499
|
+
pass
|
|
8500
|
+
|
|
8501
|
+
def _typecheckingstub__feb8675e38aa0953f2ede297f189ff49cd5a30c0b0176aac11fd742a2fda9b49(
|
|
8502
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8503
|
+
id: builtins.str,
|
|
8504
|
+
profile_id: builtins.str,
|
|
8505
|
+
) -> None:
|
|
8506
|
+
"""Type checking stubs"""
|
|
8507
|
+
pass
|
|
8508
|
+
|
|
8263
8509
|
def _typecheckingstub__56325834528256f6c2bd12b40bde80e132a645d3bffd84876d0f808ee64a8d81(
|
|
8264
8510
|
inspector: _TreeInspector_488e0dd5,
|
|
8265
8511
|
) -> None:
|
|
@@ -8697,6 +8943,22 @@ def _typecheckingstub__9a86ecf6f123d228f6edf61149bc2542f6ce02d9365ac8986ec7c6468
|
|
|
8697
8943
|
"""Type checking stubs"""
|
|
8698
8944
|
pass
|
|
8699
8945
|
|
|
8946
|
+
def _typecheckingstub__fe53c79c7532b3619e6be4cd157702c5cab36a8777950667b5647332a0038621(
|
|
8947
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8948
|
+
id: builtins.str,
|
|
8949
|
+
arn: builtins.str,
|
|
8950
|
+
) -> None:
|
|
8951
|
+
"""Type checking stubs"""
|
|
8952
|
+
pass
|
|
8953
|
+
|
|
8954
|
+
def _typecheckingstub__42c6ff2311d814991108aadd101319b04b1b334b1daf50bcd421d633d00c8645(
|
|
8955
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8956
|
+
id: builtins.str,
|
|
8957
|
+
workflow_id: builtins.str,
|
|
8958
|
+
) -> None:
|
|
8959
|
+
"""Type checking stubs"""
|
|
8960
|
+
pass
|
|
8961
|
+
|
|
8700
8962
|
def _typecheckingstub__fcf8488f51b3aba3af306d264af9434fa1e0040f1b353a0381fc97849f0e69f1(
|
|
8701
8963
|
inspector: _TreeInspector_488e0dd5,
|
|
8702
8964
|
) -> None:
|
|
@@ -986,7 +986,7 @@ class CfnIdentitySource(
|
|
|
986
986
|
|
|
987
987
|
After you create an identity source, you can use the identities provided by the IdP as proxies for the principal in authorization queries that use the `IsAuthorizedWithToken <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html>`_ operation. These identities take the form of tokens that contain claims about the user, such as IDs, attributes and group memberships. Amazon Cognito provides both identity tokens and access tokens, and Verified Permissions can use either or both. Any combination of identity and access tokens results in the same Cedar principal. Verified Permissions automatically translates the information about the identities into the standard Cedar attributes that can be evaluated by your policies. Because the Amazon Cognito identity and access tokens can contain different information, the tokens you choose to use determine the attributes that are available to access in the Cedar principal from your policies.
|
|
988
988
|
|
|
989
|
-
Amazon Cognito Identity is not available in all of the same AWS Regions as
|
|
989
|
+
Amazon Cognito Identity is not available in all of the same AWS Regions as . Because of this, the ``AWS::VerifiedPermissions::IdentitySource`` type is not available to create from AWS CloudFormation in Regions where Amazon Cognito Identity is not currently available. Users can still create ``AWS::VerifiedPermissions::IdentitySource`` in those Regions, but only from the AWS CLI , SDK, or from the AWS console.
|
|
990
990
|
.. epigraph::
|
|
991
991
|
|
|
992
992
|
To reference a user from this identity source in your Cedar policies, use the following syntax.
|
|
@@ -2657,6 +2657,48 @@ class CfnPolicyStore(
|
|
|
2657
2657
|
|
|
2658
2658
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2659
2659
|
|
|
2660
|
+
@jsii.member(jsii_name="fromPolicyStoreArn")
|
|
2661
|
+
@builtins.classmethod
|
|
2662
|
+
def from_policy_store_arn(
|
|
2663
|
+
cls,
|
|
2664
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2665
|
+
id: builtins.str,
|
|
2666
|
+
arn: builtins.str,
|
|
2667
|
+
) -> IPolicyStoreRef:
|
|
2668
|
+
'''Creates a new IPolicyStoreRef from an ARN.
|
|
2669
|
+
|
|
2670
|
+
:param scope: -
|
|
2671
|
+
:param id: -
|
|
2672
|
+
:param arn: -
|
|
2673
|
+
'''
|
|
2674
|
+
if __debug__:
|
|
2675
|
+
type_hints = typing.get_type_hints(_typecheckingstub__16b99c7dccdce2e3ceeacefaee34bcbc943bbd0e8eaa9a769f60e8db3995f9fd)
|
|
2676
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2677
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2678
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
2679
|
+
return typing.cast(IPolicyStoreRef, jsii.sinvoke(cls, "fromPolicyStoreArn", [scope, id, arn]))
|
|
2680
|
+
|
|
2681
|
+
@jsii.member(jsii_name="fromPolicyStoreId")
|
|
2682
|
+
@builtins.classmethod
|
|
2683
|
+
def from_policy_store_id(
|
|
2684
|
+
cls,
|
|
2685
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2686
|
+
id: builtins.str,
|
|
2687
|
+
policy_store_id: builtins.str,
|
|
2688
|
+
) -> IPolicyStoreRef:
|
|
2689
|
+
'''Creates a new IPolicyStoreRef from a policyStoreId.
|
|
2690
|
+
|
|
2691
|
+
:param scope: -
|
|
2692
|
+
:param id: -
|
|
2693
|
+
:param policy_store_id: -
|
|
2694
|
+
'''
|
|
2695
|
+
if __debug__:
|
|
2696
|
+
type_hints = typing.get_type_hints(_typecheckingstub__45b5cca57c73b13753d1aedfabb89ad909aa117845276b364d58f027f81d9263)
|
|
2697
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2698
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2699
|
+
check_type(argname="argument policy_store_id", value=policy_store_id, expected_type=type_hints["policy_store_id"])
|
|
2700
|
+
return typing.cast(IPolicyStoreRef, jsii.sinvoke(cls, "fromPolicyStoreId", [scope, id, policy_store_id]))
|
|
2701
|
+
|
|
2660
2702
|
@jsii.member(jsii_name="inspect")
|
|
2661
2703
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2662
2704
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -3432,6 +3474,22 @@ def _typecheckingstub__8cc0f2986096a74fa71e43f21c340737b2abb3e3f40afbfe29ca3f0bd
|
|
|
3432
3474
|
"""Type checking stubs"""
|
|
3433
3475
|
pass
|
|
3434
3476
|
|
|
3477
|
+
def _typecheckingstub__16b99c7dccdce2e3ceeacefaee34bcbc943bbd0e8eaa9a769f60e8db3995f9fd(
|
|
3478
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3479
|
+
id: builtins.str,
|
|
3480
|
+
arn: builtins.str,
|
|
3481
|
+
) -> None:
|
|
3482
|
+
"""Type checking stubs"""
|
|
3483
|
+
pass
|
|
3484
|
+
|
|
3485
|
+
def _typecheckingstub__45b5cca57c73b13753d1aedfabb89ad909aa117845276b364d58f027f81d9263(
|
|
3486
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3487
|
+
id: builtins.str,
|
|
3488
|
+
policy_store_id: builtins.str,
|
|
3489
|
+
) -> None:
|
|
3490
|
+
"""Type checking stubs"""
|
|
3491
|
+
pass
|
|
3492
|
+
|
|
3435
3493
|
def _typecheckingstub__8ad1782ca771d54cb918458c633b77eb8f22d4fb4325e8039ddc8db9486e906f(
|
|
3436
3494
|
inspector: _TreeInspector_488e0dd5,
|
|
3437
3495
|
) -> None:
|
aws_cdk/aws_voiceid/__init__.py
CHANGED
|
@@ -344,6 +344,27 @@ class CfnDomain(
|
|
|
344
344
|
|
|
345
345
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
346
346
|
|
|
347
|
+
@jsii.member(jsii_name="fromDomainId")
|
|
348
|
+
@builtins.classmethod
|
|
349
|
+
def from_domain_id(
|
|
350
|
+
cls,
|
|
351
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
352
|
+
id: builtins.str,
|
|
353
|
+
domain_id: builtins.str,
|
|
354
|
+
) -> IDomainRef:
|
|
355
|
+
'''Creates a new IDomainRef from a domainId.
|
|
356
|
+
|
|
357
|
+
:param scope: -
|
|
358
|
+
:param id: -
|
|
359
|
+
:param domain_id: -
|
|
360
|
+
'''
|
|
361
|
+
if __debug__:
|
|
362
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d090314b5097181386be13d75f37659e37ea24c10b30be29d2dbfea7923ed22b)
|
|
363
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
364
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
365
|
+
check_type(argname="argument domain_id", value=domain_id, expected_type=type_hints["domain_id"])
|
|
366
|
+
return typing.cast(IDomainRef, jsii.sinvoke(cls, "fromDomainId", [scope, id, domain_id]))
|
|
367
|
+
|
|
347
368
|
@jsii.member(jsii_name="inspect")
|
|
348
369
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
349
370
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -556,6 +577,14 @@ def _typecheckingstub__f669b499116dab0ae384f6bbe13bc890778f766ea4106733abad20253
|
|
|
556
577
|
"""Type checking stubs"""
|
|
557
578
|
pass
|
|
558
579
|
|
|
580
|
+
def _typecheckingstub__d090314b5097181386be13d75f37659e37ea24c10b30be29d2dbfea7923ed22b(
|
|
581
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
582
|
+
id: builtins.str,
|
|
583
|
+
domain_id: builtins.str,
|
|
584
|
+
) -> None:
|
|
585
|
+
"""Type checking stubs"""
|
|
586
|
+
pass
|
|
587
|
+
|
|
559
588
|
def _typecheckingstub__6a13fec87534380d8666ebae8f047bd4dadf9d9570199850acc06ce35688c145(
|
|
560
589
|
inspector: _TreeInspector_488e0dd5,
|
|
561
590
|
) -> None:
|