Class IamPolicyConstraints
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<IamPolicyConstraints.Builder,
IamPolicyConstraints>
Use this parameter to specify a supported global condition key that is added to the IAM policy.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IamPolicyConstraints.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends IamPolicyConstraints.Builder> final EnabledOrDisabled
sourceIp()
WhenSourceIp
isEnabled
the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL.final String
WhenSourceIp
isEnabled
the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final EnabledOrDisabled
WhenVpcSourceIp
isEnabled
the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL.final String
WhenVpcSourceIp
isEnabled
the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sourceIp
When
SourceIp
isEnabled
the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal.If the service returns an enum value that is not available in the current SDK version,
sourceIp
will returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceIpAsString()
.- Returns:
- When
SourceIp
isEnabled
the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal. - See Also:
-
sourceIpAsString
When
SourceIp
isEnabled
the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal.If the service returns an enum value that is not available in the current SDK version,
sourceIp
will returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceIpAsString()
.- Returns:
- When
SourceIp
isEnabled
the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal. - See Also:
-
vpcSourceIp
When
VpcSourceIp
isEnabled
the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal.If the service returns an enum value that is not available in the current SDK version,
vpcSourceIp
will returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromvpcSourceIpAsString()
.- Returns:
- When
VpcSourceIp
isEnabled
the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal. - See Also:
-
vpcSourceIpAsString
When
VpcSourceIp
isEnabled
the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal.If the service returns an enum value that is not available in the current SDK version,
vpcSourceIp
will returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromvpcSourceIpAsString()
.- Returns:
- When
VpcSourceIp
isEnabled
the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aCondition
used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<IamPolicyConstraints.Builder,
IamPolicyConstraints> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-