aws-cdk-lib 2.202.0__py3-none-any.whl → 2.203.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 +46 -47
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.202.0.jsii.tgz → aws-cdk-lib@2.203.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +310 -4
- aws_cdk/aws_aiops/__init__.py +964 -0
- aws_cdk/aws_amplify/__init__.py +127 -0
- aws_cdk/aws_arczonalshift/__init__.py +8 -8
- aws_cdk/aws_b2bi/__init__.py +782 -3
- aws_cdk/aws_backup/__init__.py +22 -0
- aws_cdk/aws_batch/__init__.py +53 -1
- aws_cdk/aws_bedrock/__init__.py +123 -9
- aws_cdk/aws_cleanrooms/__init__.py +157 -154
- aws_cdk/aws_cloudformation/__init__.py +28 -28
- aws_cdk/aws_cloudfront/__init__.py +61 -18
- aws_cdk/aws_cloudfront/experimental/__init__.py +37 -3
- aws_cdk/aws_cloudwatch/__init__.py +228 -2
- aws_cdk/aws_connect/__init__.py +120 -8
- aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
- aws_cdk/aws_customerprofiles/__init__.py +140 -20
- aws_cdk/aws_datazone/__init__.py +23 -4
- aws_cdk/aws_deadline/__init__.py +4 -4
- aws_cdk/aws_dsql/__init__.py +148 -0
- aws_cdk/aws_ec2/__init__.py +159 -7
- aws_cdk/aws_ecr/__init__.py +3 -3
- aws_cdk/aws_ecs/__init__.py +48 -13
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
- aws_cdk/aws_emrserverless/__init__.py +118 -0
- aws_cdk/aws_fsx/__init__.py +891 -0
- aws_cdk/aws_iam/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +442 -3
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kms/__init__.py +14 -8
- aws_cdk/aws_lambda/__init__.py +191 -24
- aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
- aws_cdk/aws_lex/__init__.py +703 -0
- aws_cdk/aws_logs/__init__.py +144 -0
- aws_cdk/aws_mediatailor/__init__.py +399 -0
- aws_cdk/aws_mpa/__init__.py +1475 -0
- aws_cdk/aws_networkfirewall/__init__.py +4 -2
- aws_cdk/aws_networkmanager/__init__.py +51 -3
- aws_cdk/aws_opsworkscm/__init__.py +44 -2
- aws_cdk/aws_rds/__init__.py +171 -41
- aws_cdk/aws_redshiftserverless/__init__.py +632 -0
- aws_cdk/aws_route53resolver/__init__.py +58 -10
- aws_cdk/aws_s3/__init__.py +3 -1
- aws_cdk/aws_s3tables/__init__.py +230 -0
- aws_cdk/aws_sagemaker/__init__.py +6 -2
- aws_cdk/aws_securityhub/__init__.py +2887 -56
- aws_cdk/aws_synthetics/__init__.py +21 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -4
- aws_cdk/aws_wafv2/__init__.py +156 -51
- aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
- aws_cdk/cloud_assembly_schema/__init__.py +200 -4
- aws_cdk/cx_api/__init__.py +15 -14
- aws_cdk/pipelines/__init__.py +31 -3
- aws_cdk/triggers/__init__.py +41 -4
- {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/RECORD +62 -59
- {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -4175,6 +4175,788 @@ class CfnFileSystemProps:
|
|
|
4175
4175
|
)
|
|
4176
4176
|
|
|
4177
4177
|
|
|
4178
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
4179
|
+
class CfnS3AccessPointAttachment(
|
|
4180
|
+
_CfnResource_9df397a6,
|
|
4181
|
+
metaclass=jsii.JSIIMeta,
|
|
4182
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment",
|
|
4183
|
+
):
|
|
4184
|
+
'''Resource type definition for AWS::FSx::S3AccessPointAttachment.
|
|
4185
|
+
|
|
4186
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-s3accesspointattachment.html
|
|
4187
|
+
:cloudformationResource: AWS::FSx::S3AccessPointAttachment
|
|
4188
|
+
:exampleMetadata: fixture=_generated
|
|
4189
|
+
|
|
4190
|
+
Example::
|
|
4191
|
+
|
|
4192
|
+
# The code below shows an example of how to instantiate this type.
|
|
4193
|
+
# The values are placeholders you should change.
|
|
4194
|
+
from aws_cdk import aws_fsx as fsx
|
|
4195
|
+
|
|
4196
|
+
# policy: Any
|
|
4197
|
+
|
|
4198
|
+
cfn_s3_access_point_attachment = fsx.CfnS3AccessPointAttachment(self, "MyCfnS3AccessPointAttachment",
|
|
4199
|
+
name="name",
|
|
4200
|
+
open_zfs_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty(
|
|
4201
|
+
file_system_identity=fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty(
|
|
4202
|
+
posix_user=fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
|
|
4203
|
+
gid=123,
|
|
4204
|
+
uid=123,
|
|
4205
|
+
|
|
4206
|
+
# the properties below are optional
|
|
4207
|
+
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
|
|
4208
|
+
gid=123
|
|
4209
|
+
)]
|
|
4210
|
+
),
|
|
4211
|
+
type="type"
|
|
4212
|
+
),
|
|
4213
|
+
volume_id="volumeId"
|
|
4214
|
+
),
|
|
4215
|
+
type="type",
|
|
4216
|
+
|
|
4217
|
+
# the properties below are optional
|
|
4218
|
+
s3_access_point=fsx.CfnS3AccessPointAttachment.S3AccessPointProperty(
|
|
4219
|
+
alias="alias",
|
|
4220
|
+
policy=policy,
|
|
4221
|
+
resource_arn="resourceArn",
|
|
4222
|
+
vpc_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty(
|
|
4223
|
+
vpc_id="vpcId"
|
|
4224
|
+
)
|
|
4225
|
+
)
|
|
4226
|
+
)
|
|
4227
|
+
'''
|
|
4228
|
+
|
|
4229
|
+
def __init__(
|
|
4230
|
+
self,
|
|
4231
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4232
|
+
id: builtins.str,
|
|
4233
|
+
*,
|
|
4234
|
+
name: builtins.str,
|
|
4235
|
+
open_zfs_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4236
|
+
type: builtins.str,
|
|
4237
|
+
s3_access_point: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnS3AccessPointAttachment.S3AccessPointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4238
|
+
) -> None:
|
|
4239
|
+
'''
|
|
4240
|
+
:param scope: Scope in which this resource is defined.
|
|
4241
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
4242
|
+
:param name: The Name of the S3AccessPointAttachment.
|
|
4243
|
+
:param open_zfs_configuration:
|
|
4244
|
+
:param type:
|
|
4245
|
+
:param s3_access_point:
|
|
4246
|
+
'''
|
|
4247
|
+
if __debug__:
|
|
4248
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f51e0b107c6c6ca8bc284dbcf4013f6c7bcdd088cb084476fdf615b4d8ae257e)
|
|
4249
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4250
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4251
|
+
props = CfnS3AccessPointAttachmentProps(
|
|
4252
|
+
name=name,
|
|
4253
|
+
open_zfs_configuration=open_zfs_configuration,
|
|
4254
|
+
type=type,
|
|
4255
|
+
s3_access_point=s3_access_point,
|
|
4256
|
+
)
|
|
4257
|
+
|
|
4258
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
4259
|
+
|
|
4260
|
+
@jsii.member(jsii_name="inspect")
|
|
4261
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4262
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
4263
|
+
|
|
4264
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
4265
|
+
'''
|
|
4266
|
+
if __debug__:
|
|
4267
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e021f2b2cc052b241526f0c8b04451cdbb773840ed5e597d710011b7885f25f)
|
|
4268
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
4269
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
4270
|
+
|
|
4271
|
+
@jsii.member(jsii_name="renderProperties")
|
|
4272
|
+
def _render_properties(
|
|
4273
|
+
self,
|
|
4274
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4275
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4276
|
+
'''
|
|
4277
|
+
:param props: -
|
|
4278
|
+
'''
|
|
4279
|
+
if __debug__:
|
|
4280
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4764700463d52298286c209b2ab565142140f7bfb04556d307ca9bd56430fb2)
|
|
4281
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
4282
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
4283
|
+
|
|
4284
|
+
@jsii.python.classproperty
|
|
4285
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
4286
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
4287
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
4288
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4289
|
+
|
|
4290
|
+
@builtins.property
|
|
4291
|
+
@jsii.member(jsii_name="attrS3AccessPointAlias")
|
|
4292
|
+
def attr_s3_access_point_alias(self) -> builtins.str:
|
|
4293
|
+
'''
|
|
4294
|
+
:cloudformationAttribute: S3AccessPoint.Alias
|
|
4295
|
+
'''
|
|
4296
|
+
return typing.cast(builtins.str, jsii.get(self, "attrS3AccessPointAlias"))
|
|
4297
|
+
|
|
4298
|
+
@builtins.property
|
|
4299
|
+
@jsii.member(jsii_name="attrS3AccessPointResourceArn")
|
|
4300
|
+
def attr_s3_access_point_resource_arn(self) -> builtins.str:
|
|
4301
|
+
'''
|
|
4302
|
+
:cloudformationAttribute: S3AccessPoint.ResourceARN
|
|
4303
|
+
'''
|
|
4304
|
+
return typing.cast(builtins.str, jsii.get(self, "attrS3AccessPointResourceArn"))
|
|
4305
|
+
|
|
4306
|
+
@builtins.property
|
|
4307
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
4308
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4309
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4310
|
+
|
|
4311
|
+
@builtins.property
|
|
4312
|
+
@jsii.member(jsii_name="name")
|
|
4313
|
+
def name(self) -> builtins.str:
|
|
4314
|
+
'''The Name of the S3AccessPointAttachment.'''
|
|
4315
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
4316
|
+
|
|
4317
|
+
@name.setter
|
|
4318
|
+
def name(self, value: builtins.str) -> None:
|
|
4319
|
+
if __debug__:
|
|
4320
|
+
type_hints = typing.get_type_hints(_typecheckingstub__644edd6bd850880f5ebd47e103e56e49b7d7f21e620f2807e12dac453933e59d)
|
|
4321
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4322
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
4323
|
+
|
|
4324
|
+
@builtins.property
|
|
4325
|
+
@jsii.member(jsii_name="openZfsConfiguration")
|
|
4326
|
+
def open_zfs_configuration(
|
|
4327
|
+
self,
|
|
4328
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty"]:
|
|
4329
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty"], jsii.get(self, "openZfsConfiguration"))
|
|
4330
|
+
|
|
4331
|
+
@open_zfs_configuration.setter
|
|
4332
|
+
def open_zfs_configuration(
|
|
4333
|
+
self,
|
|
4334
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty"],
|
|
4335
|
+
) -> None:
|
|
4336
|
+
if __debug__:
|
|
4337
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0756a73fef71599ffefeead45c6d0ea227439b511cdc73a360780b4f4c0df186)
|
|
4338
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4339
|
+
jsii.set(self, "openZfsConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4340
|
+
|
|
4341
|
+
@builtins.property
|
|
4342
|
+
@jsii.member(jsii_name="type")
|
|
4343
|
+
def type(self) -> builtins.str:
|
|
4344
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
4345
|
+
|
|
4346
|
+
@type.setter
|
|
4347
|
+
def type(self, value: builtins.str) -> None:
|
|
4348
|
+
if __debug__:
|
|
4349
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ece88a5ab6d3a69d75415d92fc3eea5b9fd91186f1a15239e5ec10f6c6c0005a)
|
|
4350
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4351
|
+
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
4352
|
+
|
|
4353
|
+
@builtins.property
|
|
4354
|
+
@jsii.member(jsii_name="s3AccessPoint")
|
|
4355
|
+
def s3_access_point(
|
|
4356
|
+
self,
|
|
4357
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointProperty"]]:
|
|
4358
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointProperty"]], jsii.get(self, "s3AccessPoint"))
|
|
4359
|
+
|
|
4360
|
+
@s3_access_point.setter
|
|
4361
|
+
def s3_access_point(
|
|
4362
|
+
self,
|
|
4363
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointProperty"]],
|
|
4364
|
+
) -> None:
|
|
4365
|
+
if __debug__:
|
|
4366
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1588dcc78f8354bc56e434d157b8dadab331295e3cbf0c065b7bd4b4b793aaa0)
|
|
4367
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4368
|
+
jsii.set(self, "s3AccessPoint", value) # pyright: ignore[reportArgumentType]
|
|
4369
|
+
|
|
4370
|
+
@jsii.data_type(
|
|
4371
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty",
|
|
4372
|
+
jsii_struct_bases=[],
|
|
4373
|
+
name_mapping={"gid": "gid"},
|
|
4374
|
+
)
|
|
4375
|
+
class FileSystemGIDProperty:
|
|
4376
|
+
def __init__(self, *, gid: jsii.Number) -> None:
|
|
4377
|
+
'''
|
|
4378
|
+
:param gid:
|
|
4379
|
+
|
|
4380
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-filesystemgid.html
|
|
4381
|
+
:exampleMetadata: fixture=_generated
|
|
4382
|
+
|
|
4383
|
+
Example::
|
|
4384
|
+
|
|
4385
|
+
# The code below shows an example of how to instantiate this type.
|
|
4386
|
+
# The values are placeholders you should change.
|
|
4387
|
+
from aws_cdk import aws_fsx as fsx
|
|
4388
|
+
|
|
4389
|
+
file_system_gIDProperty = fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
|
|
4390
|
+
gid=123
|
|
4391
|
+
)
|
|
4392
|
+
'''
|
|
4393
|
+
if __debug__:
|
|
4394
|
+
type_hints = typing.get_type_hints(_typecheckingstub__72efd25b3b6057030d910de35b2f8e4104cb66dc72f89dc8ebb3b89daaf6a69f)
|
|
4395
|
+
check_type(argname="argument gid", value=gid, expected_type=type_hints["gid"])
|
|
4396
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4397
|
+
"gid": gid,
|
|
4398
|
+
}
|
|
4399
|
+
|
|
4400
|
+
@builtins.property
|
|
4401
|
+
def gid(self) -> jsii.Number:
|
|
4402
|
+
'''
|
|
4403
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-filesystemgid.html#cfn-fsx-s3accesspointattachment-filesystemgid-gid
|
|
4404
|
+
'''
|
|
4405
|
+
result = self._values.get("gid")
|
|
4406
|
+
assert result is not None, "Required property 'gid' is missing"
|
|
4407
|
+
return typing.cast(jsii.Number, result)
|
|
4408
|
+
|
|
4409
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4410
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4411
|
+
|
|
4412
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4413
|
+
return not (rhs == self)
|
|
4414
|
+
|
|
4415
|
+
def __repr__(self) -> str:
|
|
4416
|
+
return "FileSystemGIDProperty(%s)" % ", ".join(
|
|
4417
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4418
|
+
)
|
|
4419
|
+
|
|
4420
|
+
@jsii.data_type(
|
|
4421
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty",
|
|
4422
|
+
jsii_struct_bases=[],
|
|
4423
|
+
name_mapping={"posix_user": "posixUser", "type": "type"},
|
|
4424
|
+
)
|
|
4425
|
+
class OpenZFSFileSystemIdentityProperty:
|
|
4426
|
+
def __init__(
|
|
4427
|
+
self,
|
|
4428
|
+
*,
|
|
4429
|
+
posix_user: typing.Union[_IResolvable_da3f097b, typing.Union["CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4430
|
+
type: builtins.str,
|
|
4431
|
+
) -> None:
|
|
4432
|
+
'''
|
|
4433
|
+
:param posix_user:
|
|
4434
|
+
:param type:
|
|
4435
|
+
|
|
4436
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsfilesystemidentity.html
|
|
4437
|
+
:exampleMetadata: fixture=_generated
|
|
4438
|
+
|
|
4439
|
+
Example::
|
|
4440
|
+
|
|
4441
|
+
# The code below shows an example of how to instantiate this type.
|
|
4442
|
+
# The values are placeholders you should change.
|
|
4443
|
+
from aws_cdk import aws_fsx as fsx
|
|
4444
|
+
|
|
4445
|
+
open_zFSFile_system_identity_property = fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty(
|
|
4446
|
+
posix_user=fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
|
|
4447
|
+
gid=123,
|
|
4448
|
+
uid=123,
|
|
4449
|
+
|
|
4450
|
+
# the properties below are optional
|
|
4451
|
+
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
|
|
4452
|
+
gid=123
|
|
4453
|
+
)]
|
|
4454
|
+
),
|
|
4455
|
+
type="type"
|
|
4456
|
+
)
|
|
4457
|
+
'''
|
|
4458
|
+
if __debug__:
|
|
4459
|
+
type_hints = typing.get_type_hints(_typecheckingstub__af3bbbb456f8fdedf7c641c4786d89bf08acb663687e1b91f1ffdb83ab9819cb)
|
|
4460
|
+
check_type(argname="argument posix_user", value=posix_user, expected_type=type_hints["posix_user"])
|
|
4461
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
4462
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4463
|
+
"posix_user": posix_user,
|
|
4464
|
+
"type": type,
|
|
4465
|
+
}
|
|
4466
|
+
|
|
4467
|
+
@builtins.property
|
|
4468
|
+
def posix_user(
|
|
4469
|
+
self,
|
|
4470
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty"]:
|
|
4471
|
+
'''
|
|
4472
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsfilesystemidentity.html#cfn-fsx-s3accesspointattachment-openzfsfilesystemidentity-posixuser
|
|
4473
|
+
'''
|
|
4474
|
+
result = self._values.get("posix_user")
|
|
4475
|
+
assert result is not None, "Required property 'posix_user' is missing"
|
|
4476
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty"], result)
|
|
4477
|
+
|
|
4478
|
+
@builtins.property
|
|
4479
|
+
def type(self) -> builtins.str:
|
|
4480
|
+
'''
|
|
4481
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsfilesystemidentity.html#cfn-fsx-s3accesspointattachment-openzfsfilesystemidentity-type
|
|
4482
|
+
'''
|
|
4483
|
+
result = self._values.get("type")
|
|
4484
|
+
assert result is not None, "Required property 'type' is missing"
|
|
4485
|
+
return typing.cast(builtins.str, result)
|
|
4486
|
+
|
|
4487
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4488
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4489
|
+
|
|
4490
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4491
|
+
return not (rhs == self)
|
|
4492
|
+
|
|
4493
|
+
def __repr__(self) -> str:
|
|
4494
|
+
return "OpenZFSFileSystemIdentityProperty(%s)" % ", ".join(
|
|
4495
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4496
|
+
)
|
|
4497
|
+
|
|
4498
|
+
@jsii.data_type(
|
|
4499
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty",
|
|
4500
|
+
jsii_struct_bases=[],
|
|
4501
|
+
name_mapping={"gid": "gid", "uid": "uid", "secondary_gids": "secondaryGids"},
|
|
4502
|
+
)
|
|
4503
|
+
class OpenZFSPosixFileSystemUserProperty:
|
|
4504
|
+
def __init__(
|
|
4505
|
+
self,
|
|
4506
|
+
*,
|
|
4507
|
+
gid: jsii.Number,
|
|
4508
|
+
uid: jsii.Number,
|
|
4509
|
+
secondary_gids: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnS3AccessPointAttachment.FileSystemGIDProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4510
|
+
) -> None:
|
|
4511
|
+
'''
|
|
4512
|
+
:param gid:
|
|
4513
|
+
:param uid:
|
|
4514
|
+
:param secondary_gids:
|
|
4515
|
+
|
|
4516
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsposixfilesystemuser.html
|
|
4517
|
+
:exampleMetadata: fixture=_generated
|
|
4518
|
+
|
|
4519
|
+
Example::
|
|
4520
|
+
|
|
4521
|
+
# The code below shows an example of how to instantiate this type.
|
|
4522
|
+
# The values are placeholders you should change.
|
|
4523
|
+
from aws_cdk import aws_fsx as fsx
|
|
4524
|
+
|
|
4525
|
+
open_zFSPosix_file_system_user_property = fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
|
|
4526
|
+
gid=123,
|
|
4527
|
+
uid=123,
|
|
4528
|
+
|
|
4529
|
+
# the properties below are optional
|
|
4530
|
+
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
|
|
4531
|
+
gid=123
|
|
4532
|
+
)]
|
|
4533
|
+
)
|
|
4534
|
+
'''
|
|
4535
|
+
if __debug__:
|
|
4536
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3decc490fdc822be6603dab799c80c7e004416dbd58cc34ea290fa556e81be39)
|
|
4537
|
+
check_type(argname="argument gid", value=gid, expected_type=type_hints["gid"])
|
|
4538
|
+
check_type(argname="argument uid", value=uid, expected_type=type_hints["uid"])
|
|
4539
|
+
check_type(argname="argument secondary_gids", value=secondary_gids, expected_type=type_hints["secondary_gids"])
|
|
4540
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4541
|
+
"gid": gid,
|
|
4542
|
+
"uid": uid,
|
|
4543
|
+
}
|
|
4544
|
+
if secondary_gids is not None:
|
|
4545
|
+
self._values["secondary_gids"] = secondary_gids
|
|
4546
|
+
|
|
4547
|
+
@builtins.property
|
|
4548
|
+
def gid(self) -> jsii.Number:
|
|
4549
|
+
'''
|
|
4550
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsposixfilesystemuser.html#cfn-fsx-s3accesspointattachment-openzfsposixfilesystemuser-gid
|
|
4551
|
+
'''
|
|
4552
|
+
result = self._values.get("gid")
|
|
4553
|
+
assert result is not None, "Required property 'gid' is missing"
|
|
4554
|
+
return typing.cast(jsii.Number, result)
|
|
4555
|
+
|
|
4556
|
+
@builtins.property
|
|
4557
|
+
def uid(self) -> jsii.Number:
|
|
4558
|
+
'''
|
|
4559
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsposixfilesystemuser.html#cfn-fsx-s3accesspointattachment-openzfsposixfilesystemuser-uid
|
|
4560
|
+
'''
|
|
4561
|
+
result = self._values.get("uid")
|
|
4562
|
+
assert result is not None, "Required property 'uid' is missing"
|
|
4563
|
+
return typing.cast(jsii.Number, result)
|
|
4564
|
+
|
|
4565
|
+
@builtins.property
|
|
4566
|
+
def secondary_gids(
|
|
4567
|
+
self,
|
|
4568
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.FileSystemGIDProperty"]]]]:
|
|
4569
|
+
'''
|
|
4570
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-openzfsposixfilesystemuser.html#cfn-fsx-s3accesspointattachment-openzfsposixfilesystemuser-secondarygids
|
|
4571
|
+
'''
|
|
4572
|
+
result = self._values.get("secondary_gids")
|
|
4573
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.FileSystemGIDProperty"]]]], result)
|
|
4574
|
+
|
|
4575
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4576
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4577
|
+
|
|
4578
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4579
|
+
return not (rhs == self)
|
|
4580
|
+
|
|
4581
|
+
def __repr__(self) -> str:
|
|
4582
|
+
return "OpenZFSPosixFileSystemUserProperty(%s)" % ", ".join(
|
|
4583
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4584
|
+
)
|
|
4585
|
+
|
|
4586
|
+
@jsii.data_type(
|
|
4587
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty",
|
|
4588
|
+
jsii_struct_bases=[],
|
|
4589
|
+
name_mapping={
|
|
4590
|
+
"file_system_identity": "fileSystemIdentity",
|
|
4591
|
+
"volume_id": "volumeId",
|
|
4592
|
+
},
|
|
4593
|
+
)
|
|
4594
|
+
class S3AccessPointOpenZFSConfigurationProperty:
|
|
4595
|
+
def __init__(
|
|
4596
|
+
self,
|
|
4597
|
+
*,
|
|
4598
|
+
file_system_identity: typing.Union[_IResolvable_da3f097b, typing.Union["CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4599
|
+
volume_id: builtins.str,
|
|
4600
|
+
) -> None:
|
|
4601
|
+
'''
|
|
4602
|
+
:param file_system_identity:
|
|
4603
|
+
:param volume_id:
|
|
4604
|
+
|
|
4605
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspointopenzfsconfiguration.html
|
|
4606
|
+
:exampleMetadata: fixture=_generated
|
|
4607
|
+
|
|
4608
|
+
Example::
|
|
4609
|
+
|
|
4610
|
+
# The code below shows an example of how to instantiate this type.
|
|
4611
|
+
# The values are placeholders you should change.
|
|
4612
|
+
from aws_cdk import aws_fsx as fsx
|
|
4613
|
+
|
|
4614
|
+
s3_access_point_open_zFSConfiguration_property = fsx.CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty(
|
|
4615
|
+
file_system_identity=fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty(
|
|
4616
|
+
posix_user=fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
|
|
4617
|
+
gid=123,
|
|
4618
|
+
uid=123,
|
|
4619
|
+
|
|
4620
|
+
# the properties below are optional
|
|
4621
|
+
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
|
|
4622
|
+
gid=123
|
|
4623
|
+
)]
|
|
4624
|
+
),
|
|
4625
|
+
type="type"
|
|
4626
|
+
),
|
|
4627
|
+
volume_id="volumeId"
|
|
4628
|
+
)
|
|
4629
|
+
'''
|
|
4630
|
+
if __debug__:
|
|
4631
|
+
type_hints = typing.get_type_hints(_typecheckingstub__19e4ea8fd55e864f4fe150ca7ce6a9a2838595c2d032b53647f2917e1f00ccfa)
|
|
4632
|
+
check_type(argname="argument file_system_identity", value=file_system_identity, expected_type=type_hints["file_system_identity"])
|
|
4633
|
+
check_type(argname="argument volume_id", value=volume_id, expected_type=type_hints["volume_id"])
|
|
4634
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4635
|
+
"file_system_identity": file_system_identity,
|
|
4636
|
+
"volume_id": volume_id,
|
|
4637
|
+
}
|
|
4638
|
+
|
|
4639
|
+
@builtins.property
|
|
4640
|
+
def file_system_identity(
|
|
4641
|
+
self,
|
|
4642
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty"]:
|
|
4643
|
+
'''
|
|
4644
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspointopenzfsconfiguration.html#cfn-fsx-s3accesspointattachment-s3accesspointopenzfsconfiguration-filesystemidentity
|
|
4645
|
+
'''
|
|
4646
|
+
result = self._values.get("file_system_identity")
|
|
4647
|
+
assert result is not None, "Required property 'file_system_identity' is missing"
|
|
4648
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty"], result)
|
|
4649
|
+
|
|
4650
|
+
@builtins.property
|
|
4651
|
+
def volume_id(self) -> builtins.str:
|
|
4652
|
+
'''
|
|
4653
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspointopenzfsconfiguration.html#cfn-fsx-s3accesspointattachment-s3accesspointopenzfsconfiguration-volumeid
|
|
4654
|
+
'''
|
|
4655
|
+
result = self._values.get("volume_id")
|
|
4656
|
+
assert result is not None, "Required property 'volume_id' is missing"
|
|
4657
|
+
return typing.cast(builtins.str, result)
|
|
4658
|
+
|
|
4659
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4660
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4661
|
+
|
|
4662
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4663
|
+
return not (rhs == self)
|
|
4664
|
+
|
|
4665
|
+
def __repr__(self) -> str:
|
|
4666
|
+
return "S3AccessPointOpenZFSConfigurationProperty(%s)" % ", ".join(
|
|
4667
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4668
|
+
)
|
|
4669
|
+
|
|
4670
|
+
@jsii.data_type(
|
|
4671
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.S3AccessPointProperty",
|
|
4672
|
+
jsii_struct_bases=[],
|
|
4673
|
+
name_mapping={
|
|
4674
|
+
"alias": "alias",
|
|
4675
|
+
"policy": "policy",
|
|
4676
|
+
"resource_arn": "resourceArn",
|
|
4677
|
+
"vpc_configuration": "vpcConfiguration",
|
|
4678
|
+
},
|
|
4679
|
+
)
|
|
4680
|
+
class S3AccessPointProperty:
|
|
4681
|
+
def __init__(
|
|
4682
|
+
self,
|
|
4683
|
+
*,
|
|
4684
|
+
alias: typing.Optional[builtins.str] = None,
|
|
4685
|
+
policy: typing.Any = None,
|
|
4686
|
+
resource_arn: typing.Optional[builtins.str] = None,
|
|
4687
|
+
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4688
|
+
) -> None:
|
|
4689
|
+
'''
|
|
4690
|
+
:param alias:
|
|
4691
|
+
:param policy:
|
|
4692
|
+
:param resource_arn:
|
|
4693
|
+
:param vpc_configuration:
|
|
4694
|
+
|
|
4695
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspoint.html
|
|
4696
|
+
:exampleMetadata: fixture=_generated
|
|
4697
|
+
|
|
4698
|
+
Example::
|
|
4699
|
+
|
|
4700
|
+
# The code below shows an example of how to instantiate this type.
|
|
4701
|
+
# The values are placeholders you should change.
|
|
4702
|
+
from aws_cdk import aws_fsx as fsx
|
|
4703
|
+
|
|
4704
|
+
# policy: Any
|
|
4705
|
+
|
|
4706
|
+
s3_access_point_property = fsx.CfnS3AccessPointAttachment.S3AccessPointProperty(
|
|
4707
|
+
alias="alias",
|
|
4708
|
+
policy=policy,
|
|
4709
|
+
resource_arn="resourceArn",
|
|
4710
|
+
vpc_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty(
|
|
4711
|
+
vpc_id="vpcId"
|
|
4712
|
+
)
|
|
4713
|
+
)
|
|
4714
|
+
'''
|
|
4715
|
+
if __debug__:
|
|
4716
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f4a6a2c709cd1951841b5d405e10b97412387430297e85aa1495d3aab1b70367)
|
|
4717
|
+
check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
|
|
4718
|
+
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
4719
|
+
check_type(argname="argument resource_arn", value=resource_arn, expected_type=type_hints["resource_arn"])
|
|
4720
|
+
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
|
4721
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4722
|
+
if alias is not None:
|
|
4723
|
+
self._values["alias"] = alias
|
|
4724
|
+
if policy is not None:
|
|
4725
|
+
self._values["policy"] = policy
|
|
4726
|
+
if resource_arn is not None:
|
|
4727
|
+
self._values["resource_arn"] = resource_arn
|
|
4728
|
+
if vpc_configuration is not None:
|
|
4729
|
+
self._values["vpc_configuration"] = vpc_configuration
|
|
4730
|
+
|
|
4731
|
+
@builtins.property
|
|
4732
|
+
def alias(self) -> typing.Optional[builtins.str]:
|
|
4733
|
+
'''
|
|
4734
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspoint.html#cfn-fsx-s3accesspointattachment-s3accesspoint-alias
|
|
4735
|
+
'''
|
|
4736
|
+
result = self._values.get("alias")
|
|
4737
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4738
|
+
|
|
4739
|
+
@builtins.property
|
|
4740
|
+
def policy(self) -> typing.Any:
|
|
4741
|
+
'''
|
|
4742
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspoint.html#cfn-fsx-s3accesspointattachment-s3accesspoint-policy
|
|
4743
|
+
'''
|
|
4744
|
+
result = self._values.get("policy")
|
|
4745
|
+
return typing.cast(typing.Any, result)
|
|
4746
|
+
|
|
4747
|
+
@builtins.property
|
|
4748
|
+
def resource_arn(self) -> typing.Optional[builtins.str]:
|
|
4749
|
+
'''
|
|
4750
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspoint.html#cfn-fsx-s3accesspointattachment-s3accesspoint-resourcearn
|
|
4751
|
+
'''
|
|
4752
|
+
result = self._values.get("resource_arn")
|
|
4753
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4754
|
+
|
|
4755
|
+
@builtins.property
|
|
4756
|
+
def vpc_configuration(
|
|
4757
|
+
self,
|
|
4758
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty"]]:
|
|
4759
|
+
'''
|
|
4760
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspoint.html#cfn-fsx-s3accesspointattachment-s3accesspoint-vpcconfiguration
|
|
4761
|
+
'''
|
|
4762
|
+
result = self._values.get("vpc_configuration")
|
|
4763
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty"]], result)
|
|
4764
|
+
|
|
4765
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4766
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4767
|
+
|
|
4768
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4769
|
+
return not (rhs == self)
|
|
4770
|
+
|
|
4771
|
+
def __repr__(self) -> str:
|
|
4772
|
+
return "S3AccessPointProperty(%s)" % ", ".join(
|
|
4773
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4774
|
+
)
|
|
4775
|
+
|
|
4776
|
+
@jsii.data_type(
|
|
4777
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty",
|
|
4778
|
+
jsii_struct_bases=[],
|
|
4779
|
+
name_mapping={"vpc_id": "vpcId"},
|
|
4780
|
+
)
|
|
4781
|
+
class S3AccessPointVpcConfigurationProperty:
|
|
4782
|
+
def __init__(self, *, vpc_id: builtins.str) -> None:
|
|
4783
|
+
'''
|
|
4784
|
+
:param vpc_id:
|
|
4785
|
+
|
|
4786
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspointvpcconfiguration.html
|
|
4787
|
+
:exampleMetadata: fixture=_generated
|
|
4788
|
+
|
|
4789
|
+
Example::
|
|
4790
|
+
|
|
4791
|
+
# The code below shows an example of how to instantiate this type.
|
|
4792
|
+
# The values are placeholders you should change.
|
|
4793
|
+
from aws_cdk import aws_fsx as fsx
|
|
4794
|
+
|
|
4795
|
+
s3_access_point_vpc_configuration_property = fsx.CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty(
|
|
4796
|
+
vpc_id="vpcId"
|
|
4797
|
+
)
|
|
4798
|
+
'''
|
|
4799
|
+
if __debug__:
|
|
4800
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ca5b9e5f42caf136a78ce4c94fb03a42b36504167d07de97e63171ff15aab81d)
|
|
4801
|
+
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
4802
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4803
|
+
"vpc_id": vpc_id,
|
|
4804
|
+
}
|
|
4805
|
+
|
|
4806
|
+
@builtins.property
|
|
4807
|
+
def vpc_id(self) -> builtins.str:
|
|
4808
|
+
'''
|
|
4809
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-s3accesspointattachment-s3accesspointvpcconfiguration.html#cfn-fsx-s3accesspointattachment-s3accesspointvpcconfiguration-vpcid
|
|
4810
|
+
'''
|
|
4811
|
+
result = self._values.get("vpc_id")
|
|
4812
|
+
assert result is not None, "Required property 'vpc_id' is missing"
|
|
4813
|
+
return typing.cast(builtins.str, result)
|
|
4814
|
+
|
|
4815
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4816
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4817
|
+
|
|
4818
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4819
|
+
return not (rhs == self)
|
|
4820
|
+
|
|
4821
|
+
def __repr__(self) -> str:
|
|
4822
|
+
return "S3AccessPointVpcConfigurationProperty(%s)" % ", ".join(
|
|
4823
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4824
|
+
)
|
|
4825
|
+
|
|
4826
|
+
|
|
4827
|
+
@jsii.data_type(
|
|
4828
|
+
jsii_type="aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachmentProps",
|
|
4829
|
+
jsii_struct_bases=[],
|
|
4830
|
+
name_mapping={
|
|
4831
|
+
"name": "name",
|
|
4832
|
+
"open_zfs_configuration": "openZfsConfiguration",
|
|
4833
|
+
"type": "type",
|
|
4834
|
+
"s3_access_point": "s3AccessPoint",
|
|
4835
|
+
},
|
|
4836
|
+
)
|
|
4837
|
+
class CfnS3AccessPointAttachmentProps:
|
|
4838
|
+
def __init__(
|
|
4839
|
+
self,
|
|
4840
|
+
*,
|
|
4841
|
+
name: builtins.str,
|
|
4842
|
+
open_zfs_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4843
|
+
type: builtins.str,
|
|
4844
|
+
s3_access_point: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4845
|
+
) -> None:
|
|
4846
|
+
'''Properties for defining a ``CfnS3AccessPointAttachment``.
|
|
4847
|
+
|
|
4848
|
+
:param name: The Name of the S3AccessPointAttachment.
|
|
4849
|
+
:param open_zfs_configuration:
|
|
4850
|
+
:param type:
|
|
4851
|
+
:param s3_access_point:
|
|
4852
|
+
|
|
4853
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-s3accesspointattachment.html
|
|
4854
|
+
:exampleMetadata: fixture=_generated
|
|
4855
|
+
|
|
4856
|
+
Example::
|
|
4857
|
+
|
|
4858
|
+
# The code below shows an example of how to instantiate this type.
|
|
4859
|
+
# The values are placeholders you should change.
|
|
4860
|
+
from aws_cdk import aws_fsx as fsx
|
|
4861
|
+
|
|
4862
|
+
# policy: Any
|
|
4863
|
+
|
|
4864
|
+
cfn_s3_access_point_attachment_props = fsx.CfnS3AccessPointAttachmentProps(
|
|
4865
|
+
name="name",
|
|
4866
|
+
open_zfs_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty(
|
|
4867
|
+
file_system_identity=fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty(
|
|
4868
|
+
posix_user=fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
|
|
4869
|
+
gid=123,
|
|
4870
|
+
uid=123,
|
|
4871
|
+
|
|
4872
|
+
# the properties below are optional
|
|
4873
|
+
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
|
|
4874
|
+
gid=123
|
|
4875
|
+
)]
|
|
4876
|
+
),
|
|
4877
|
+
type="type"
|
|
4878
|
+
),
|
|
4879
|
+
volume_id="volumeId"
|
|
4880
|
+
),
|
|
4881
|
+
type="type",
|
|
4882
|
+
|
|
4883
|
+
# the properties below are optional
|
|
4884
|
+
s3_access_point=fsx.CfnS3AccessPointAttachment.S3AccessPointProperty(
|
|
4885
|
+
alias="alias",
|
|
4886
|
+
policy=policy,
|
|
4887
|
+
resource_arn="resourceArn",
|
|
4888
|
+
vpc_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty(
|
|
4889
|
+
vpc_id="vpcId"
|
|
4890
|
+
)
|
|
4891
|
+
)
|
|
4892
|
+
)
|
|
4893
|
+
'''
|
|
4894
|
+
if __debug__:
|
|
4895
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f8d86aefcd2904a1c36c865f774d6ff97130a2707963573cf5c4a4173e91ab0e)
|
|
4896
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4897
|
+
check_type(argname="argument open_zfs_configuration", value=open_zfs_configuration, expected_type=type_hints["open_zfs_configuration"])
|
|
4898
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
4899
|
+
check_type(argname="argument s3_access_point", value=s3_access_point, expected_type=type_hints["s3_access_point"])
|
|
4900
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4901
|
+
"name": name,
|
|
4902
|
+
"open_zfs_configuration": open_zfs_configuration,
|
|
4903
|
+
"type": type,
|
|
4904
|
+
}
|
|
4905
|
+
if s3_access_point is not None:
|
|
4906
|
+
self._values["s3_access_point"] = s3_access_point
|
|
4907
|
+
|
|
4908
|
+
@builtins.property
|
|
4909
|
+
def name(self) -> builtins.str:
|
|
4910
|
+
'''The Name of the S3AccessPointAttachment.
|
|
4911
|
+
|
|
4912
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-s3accesspointattachment.html#cfn-fsx-s3accesspointattachment-name
|
|
4913
|
+
'''
|
|
4914
|
+
result = self._values.get("name")
|
|
4915
|
+
assert result is not None, "Required property 'name' is missing"
|
|
4916
|
+
return typing.cast(builtins.str, result)
|
|
4917
|
+
|
|
4918
|
+
@builtins.property
|
|
4919
|
+
def open_zfs_configuration(
|
|
4920
|
+
self,
|
|
4921
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty]:
|
|
4922
|
+
'''
|
|
4923
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-s3accesspointattachment.html#cfn-fsx-s3accesspointattachment-openzfsconfiguration
|
|
4924
|
+
'''
|
|
4925
|
+
result = self._values.get("open_zfs_configuration")
|
|
4926
|
+
assert result is not None, "Required property 'open_zfs_configuration' is missing"
|
|
4927
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty], result)
|
|
4928
|
+
|
|
4929
|
+
@builtins.property
|
|
4930
|
+
def type(self) -> builtins.str:
|
|
4931
|
+
'''
|
|
4932
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-s3accesspointattachment.html#cfn-fsx-s3accesspointattachment-type
|
|
4933
|
+
'''
|
|
4934
|
+
result = self._values.get("type")
|
|
4935
|
+
assert result is not None, "Required property 'type' is missing"
|
|
4936
|
+
return typing.cast(builtins.str, result)
|
|
4937
|
+
|
|
4938
|
+
@builtins.property
|
|
4939
|
+
def s3_access_point(
|
|
4940
|
+
self,
|
|
4941
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnS3AccessPointAttachment.S3AccessPointProperty]]:
|
|
4942
|
+
'''
|
|
4943
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-s3accesspointattachment.html#cfn-fsx-s3accesspointattachment-s3accesspoint
|
|
4944
|
+
'''
|
|
4945
|
+
result = self._values.get("s3_access_point")
|
|
4946
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnS3AccessPointAttachment.S3AccessPointProperty]], result)
|
|
4947
|
+
|
|
4948
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4949
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4950
|
+
|
|
4951
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4952
|
+
return not (rhs == self)
|
|
4953
|
+
|
|
4954
|
+
def __repr__(self) -> str:
|
|
4955
|
+
return "CfnS3AccessPointAttachmentProps(%s)" % ", ".join(
|
|
4956
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4957
|
+
)
|
|
4958
|
+
|
|
4959
|
+
|
|
4178
4960
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
4179
4961
|
class CfnSnapshot(
|
|
4180
4962
|
_CfnResource_9df397a6,
|
|
@@ -8633,6 +9415,8 @@ __all__ = [
|
|
|
8633
9415
|
"CfnDataRepositoryAssociationProps",
|
|
8634
9416
|
"CfnFileSystem",
|
|
8635
9417
|
"CfnFileSystemProps",
|
|
9418
|
+
"CfnS3AccessPointAttachment",
|
|
9419
|
+
"CfnS3AccessPointAttachmentProps",
|
|
8636
9420
|
"CfnSnapshot",
|
|
8637
9421
|
"CfnSnapshotProps",
|
|
8638
9422
|
"CfnStorageVirtualMachine",
|
|
@@ -9062,6 +9846,113 @@ def _typecheckingstub__cc6cf655096c0830614c2b73c7ebf907b07fc70f50859b1aa0f76bbf6
|
|
|
9062
9846
|
"""Type checking stubs"""
|
|
9063
9847
|
pass
|
|
9064
9848
|
|
|
9849
|
+
def _typecheckingstub__f51e0b107c6c6ca8bc284dbcf4013f6c7bcdd088cb084476fdf615b4d8ae257e(
|
|
9850
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9851
|
+
id: builtins.str,
|
|
9852
|
+
*,
|
|
9853
|
+
name: builtins.str,
|
|
9854
|
+
open_zfs_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9855
|
+
type: builtins.str,
|
|
9856
|
+
s3_access_point: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9857
|
+
) -> None:
|
|
9858
|
+
"""Type checking stubs"""
|
|
9859
|
+
pass
|
|
9860
|
+
|
|
9861
|
+
def _typecheckingstub__6e021f2b2cc052b241526f0c8b04451cdbb773840ed5e597d710011b7885f25f(
|
|
9862
|
+
inspector: _TreeInspector_488e0dd5,
|
|
9863
|
+
) -> None:
|
|
9864
|
+
"""Type checking stubs"""
|
|
9865
|
+
pass
|
|
9866
|
+
|
|
9867
|
+
def _typecheckingstub__e4764700463d52298286c209b2ab565142140f7bfb04556d307ca9bd56430fb2(
|
|
9868
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
9869
|
+
) -> None:
|
|
9870
|
+
"""Type checking stubs"""
|
|
9871
|
+
pass
|
|
9872
|
+
|
|
9873
|
+
def _typecheckingstub__644edd6bd850880f5ebd47e103e56e49b7d7f21e620f2807e12dac453933e59d(
|
|
9874
|
+
value: builtins.str,
|
|
9875
|
+
) -> None:
|
|
9876
|
+
"""Type checking stubs"""
|
|
9877
|
+
pass
|
|
9878
|
+
|
|
9879
|
+
def _typecheckingstub__0756a73fef71599ffefeead45c6d0ea227439b511cdc73a360780b4f4c0df186(
|
|
9880
|
+
value: typing.Union[_IResolvable_da3f097b, CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty],
|
|
9881
|
+
) -> None:
|
|
9882
|
+
"""Type checking stubs"""
|
|
9883
|
+
pass
|
|
9884
|
+
|
|
9885
|
+
def _typecheckingstub__ece88a5ab6d3a69d75415d92fc3eea5b9fd91186f1a15239e5ec10f6c6c0005a(
|
|
9886
|
+
value: builtins.str,
|
|
9887
|
+
) -> None:
|
|
9888
|
+
"""Type checking stubs"""
|
|
9889
|
+
pass
|
|
9890
|
+
|
|
9891
|
+
def _typecheckingstub__1588dcc78f8354bc56e434d157b8dadab331295e3cbf0c065b7bd4b4b793aaa0(
|
|
9892
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnS3AccessPointAttachment.S3AccessPointProperty]],
|
|
9893
|
+
) -> None:
|
|
9894
|
+
"""Type checking stubs"""
|
|
9895
|
+
pass
|
|
9896
|
+
|
|
9897
|
+
def _typecheckingstub__72efd25b3b6057030d910de35b2f8e4104cb66dc72f89dc8ebb3b89daaf6a69f(
|
|
9898
|
+
*,
|
|
9899
|
+
gid: jsii.Number,
|
|
9900
|
+
) -> None:
|
|
9901
|
+
"""Type checking stubs"""
|
|
9902
|
+
pass
|
|
9903
|
+
|
|
9904
|
+
def _typecheckingstub__af3bbbb456f8fdedf7c641c4786d89bf08acb663687e1b91f1ffdb83ab9819cb(
|
|
9905
|
+
*,
|
|
9906
|
+
posix_user: typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9907
|
+
type: builtins.str,
|
|
9908
|
+
) -> None:
|
|
9909
|
+
"""Type checking stubs"""
|
|
9910
|
+
pass
|
|
9911
|
+
|
|
9912
|
+
def _typecheckingstub__3decc490fdc822be6603dab799c80c7e004416dbd58cc34ea290fa556e81be39(
|
|
9913
|
+
*,
|
|
9914
|
+
gid: jsii.Number,
|
|
9915
|
+
uid: jsii.Number,
|
|
9916
|
+
secondary_gids: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.FileSystemGIDProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9917
|
+
) -> None:
|
|
9918
|
+
"""Type checking stubs"""
|
|
9919
|
+
pass
|
|
9920
|
+
|
|
9921
|
+
def _typecheckingstub__19e4ea8fd55e864f4fe150ca7ce6a9a2838595c2d032b53647f2917e1f00ccfa(
|
|
9922
|
+
*,
|
|
9923
|
+
file_system_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9924
|
+
volume_id: builtins.str,
|
|
9925
|
+
) -> None:
|
|
9926
|
+
"""Type checking stubs"""
|
|
9927
|
+
pass
|
|
9928
|
+
|
|
9929
|
+
def _typecheckingstub__f4a6a2c709cd1951841b5d405e10b97412387430297e85aa1495d3aab1b70367(
|
|
9930
|
+
*,
|
|
9931
|
+
alias: typing.Optional[builtins.str] = None,
|
|
9932
|
+
policy: typing.Any = None,
|
|
9933
|
+
resource_arn: typing.Optional[builtins.str] = None,
|
|
9934
|
+
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9935
|
+
) -> None:
|
|
9936
|
+
"""Type checking stubs"""
|
|
9937
|
+
pass
|
|
9938
|
+
|
|
9939
|
+
def _typecheckingstub__ca5b9e5f42caf136a78ce4c94fb03a42b36504167d07de97e63171ff15aab81d(
|
|
9940
|
+
*,
|
|
9941
|
+
vpc_id: builtins.str,
|
|
9942
|
+
) -> None:
|
|
9943
|
+
"""Type checking stubs"""
|
|
9944
|
+
pass
|
|
9945
|
+
|
|
9946
|
+
def _typecheckingstub__f8d86aefcd2904a1c36c865f774d6ff97130a2707963573cf5c4a4173e91ab0e(
|
|
9947
|
+
*,
|
|
9948
|
+
name: builtins.str,
|
|
9949
|
+
open_zfs_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9950
|
+
type: builtins.str,
|
|
9951
|
+
s3_access_point: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnS3AccessPointAttachment.S3AccessPointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9952
|
+
) -> None:
|
|
9953
|
+
"""Type checking stubs"""
|
|
9954
|
+
pass
|
|
9955
|
+
|
|
9065
9956
|
def _typecheckingstub__9d5d4adee5d5cd344131498bc7092a1109dbe23b110d78c712b65bf1439e1c88(
|
|
9066
9957
|
scope: _constructs_77d1e7e8.Construct,
|
|
9067
9958
|
id: builtins.str,
|