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.Builderbuilder()final booleanfinal booleanequalsBySdkFields(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 inthashCode()static Class<? extends IamPolicyConstraints.Builder> final EnabledOrDisabledsourceIp()WhenSourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.final StringWhenSourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused 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 StringtoString()Returns a string representation of this object.final EnabledOrDisabledWhenVpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.final StringWhenVpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sourceIp
When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused 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,
sourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceIpAsString().- Returns:
- When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused 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
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused 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,
sourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceIpAsString().- Returns:
- When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused 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
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused 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,
vpcSourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcSourceIpAsString().- Returns:
- When
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused 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
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused 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,
vpcSourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcSourceIpAsString().- Returns:
- When
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IamPolicyConstraints.Builder,IamPolicyConstraints> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-