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:
IEnvironmentAware,IInspectable,ITaggableV2,IIpAccessSettingsRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:17.170Z")
@Stability(Stable)
public class CfnIpAccessSettings
extends CfnResource
implements IInspectable, IIpAccessSettingsRef, 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 classA fluent builder forCfnIpAccessSettings.static interfaceThe IP rules of the IP access settings.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.workspacesweb.IIpAccessSettingsRef
IIpAccessSettingsRef.Jsii$Default, IIpAccessSettingsRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnIpAccessSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnIpAccessSettings(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.A reference to a IpAccessSettings resource.The IP rules of the IP access settings.getTags()The tags to add to the IP access settings resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidAdditional encryption context of the IP access settings.voidAdditional encryption context of the IP access settings.voidsetCustomerManagedKey(String value) The custom managed key of the IP access settings.voidsetDescription(String value) The description of the IP access settings.voidsetDisplayName(String value) The display name of the IP access settings.voidsetIpRules(List<Object> value) The IP rules of the IP access settings.voidsetIpRules(IResolvable value) The IP rules of the IP access settings.voidThe 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, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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:
inspectin 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:
renderPropertiesin 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:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getIpAccessSettingsRef
A reference to a IpAccessSettings resource.- Specified by:
getIpAccessSettingsRefin interfaceIIpAccessSettingsRef
-
getIpRules
The IP rules of the IP access settings.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnIpAccessSettings.IpRuleProperty> -
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.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
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.
-