Class CfnIpAccessSettings
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.workspacesweb.CfnIpAccessSettings
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-12T12:32:12.858Z")
@Stability(Stable)
public class CfnIpAccessSettings
extends CfnResource
implements IInspectable, ITaggableV2
This resource specifies IP access settings that can be associated with a web portal.
For more information, see Set up IP access controls (optional) .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.workspacesweb.*; CfnIpAccessSettings cfnIpAccessSettings = CfnIpAccessSettings.Builder.create(this, "MyCfnIpAccessSettings") .ipRules(List.of(IpRuleProperty.builder() .ipRange("ipRange") // the properties below are optional .description("description") .build())) // the properties below are optional .additionalEncryptionContext(Map.of( "additionalEncryptionContextKey", "additionalEncryptionContext")) .customerManagedKey("customerManagedKey") .description("description") .displayName("displayName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCfnIpAccessSettings
.static interface
The IP rules of the IP access settings.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnIpAccessSettings
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnIpAccessSettings
(software.amazon.jsii.JsiiObjectRef objRef) CfnIpAccessSettings
(software.constructs.Construct scope, String id, CfnIpAccessSettingsProps props) -
Method Summary
Modifier and TypeMethodDescriptionAdditional encryption context of the IP access settings.A list of web portal ARNs that this IP access settings resource is associated with.The creation date timestamp of the IP access settings.The ARN of the IP access settings resource.Tag Manager which manages the tags for this resource.The custom managed key of the IP access settings.The description of the IP access settings.The display name of the IP access settings.The IP rules of the IP access settings.getTags()
The tags to add to the IP access settings resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
Additional encryption context of the IP access settings.void
Additional encryption context of the IP access settings.void
setCustomerManagedKey
(String value) The custom managed key of the IP access settings.void
setDescription
(String value) The description of the IP access settings.void
setDisplayName
(String value) The display name of the IP access settings.void
setIpRules
(List<Object> value) The IP rules of the IP access settings.void
setIpRules
(IResolvable value) The IP rules of the IP access settings.void
The tags to add to the IP access settings resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnIpAccessSettings
protected CfnIpAccessSettings(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIpAccessSettings
protected CfnIpAccessSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIpAccessSettings
@Stability(Stable) public CfnIpAccessSettings(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIpAccessSettingsProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrAssociatedPortalArns
A list of web portal ARNs that this IP access settings resource is associated with. -
getAttrCreationDate
The creation date timestamp of the IP access settings. -
getAttrIpAccessSettingsArn
The ARN of the IP access settings resource. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getIpRules
The IP rules of the IP access settings. -
setIpRules
The IP rules of the IP access settings. -
setIpRules
The IP rules of the IP access settings. -
getAdditionalEncryptionContext
Additional encryption context of the IP access settings. -
setAdditionalEncryptionContext
Additional encryption context of the IP access settings. -
setAdditionalEncryptionContext
Additional encryption context of the IP access settings. -
getCustomerManagedKey
The custom managed key of the IP access settings. -
setCustomerManagedKey
The custom managed key of the IP access settings. -
getDescription
The description of the IP access settings. -
setDescription
The description of the IP access settings. -
getDisplayName
The display name of the IP access settings. -
setDisplayName
The display name of the IP access settings. -
getTags
The tags to add to the IP access settings resource. -
setTags
The tags to add to the IP access settings resource.
-