CfnPortalPropsMixin

class aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnPortalPropsMixin(props, *, strategy=None)

Bases: Mixin

This resource specifies a web portal, which users use to start browsing sessions.

A Standard web portal can’t start browsing sessions unless you have at defined and associated an IdentityProvider and NetworkSettings resource. An IAM Identity Center web portal does not require an IdentityProvider resource.

For more information about web portals, see What is Amazon WorkSpaces Secure Browser? .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html

CloudformationResource:

AWS::WorkSpacesWeb::Portal

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_workspacesweb import mixins as workspacesweb_mixins

cfn_portal_props_mixin = workspacesweb_mixins.CfnPortalPropsMixin(workspacesweb_mixins.CfnPortalMixinProps(
    additional_encryption_context={
        "additional_encryption_context_key": "additionalEncryptionContext"
    },
    authentication_type="authenticationType",
    browser_settings_arn="browserSettingsArn",
    customer_managed_key="customerManagedKey",
    data_protection_settings_arn="dataProtectionSettingsArn",
    display_name="displayName",
    instance_type="instanceType",
    ip_access_settings_arn="ipAccessSettingsArn",
    max_concurrent_sessions=123,
    network_settings_arn="networkSettingsArn",
    session_logger_arn="sessionLoggerArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    trust_store_arn="trustStoreArn",
    user_access_logging_settings_arn="userAccessLoggingSettingsArn",
    user_settings_arn="userSettingsArn"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::WorkSpacesWeb::Portal.

Parameters:
  • props (Union[CfnPortalMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['additionalEncryptionContext', 'authenticationType', 'browserSettingsArn', 'customerManagedKey', 'dataProtectionSettingsArn', 'displayName', 'instanceType', 'ipAccessSettingsArn', 'maxConcurrentSessions', 'networkSettingsArn', 'sessionLoggerArn', 'tags', 'trustStoreArn', 'userAccessLoggingSettingsArn', 'userSettingsArn']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental