Uses of Class
com.amazonaws.auth.policy.Condition
Packages that use Condition
Package
Description
Classes for creating custom AWS access control policies.
Collection of AWS access control policy conditions.
-
Uses of Condition in com.amazonaws.auth.policy
Methods in com.amazonaws.auth.policy that return ConditionModifier and TypeMethodDescriptionCondition.withConditionKey(String key) Fluent version ofsetConditionKey(String)Fluent version ofsetType(String)Condition.withValues(String... values) Fluent version ofsetValues(List)Condition.withValues(List<String> values) Fluent version ofsetValues(List)Methods in com.amazonaws.auth.policy that return types with arguments of type ConditionModifier and TypeMethodDescriptionStatement.getConditions()Returns the conditions associated with this policy statement.Methods in com.amazonaws.auth.policy with parameters of type ConditionModifier and TypeMethodDescriptionStatement.withConditions(Condition... conditions) Sets the conditions associated with this policy statement, and returns this updated Statement object so that additional method calls can be chained together.Method parameters in com.amazonaws.auth.policy with type arguments of type ConditionModifier and TypeMethodDescriptionvoidStatement.setConditions(List<Condition> conditions) Sets the conditions associated with this policy statement. -
Uses of Condition in com.amazonaws.auth.policy.conditions
Subclasses of Condition in com.amazonaws.auth.policy.conditionsModifier and TypeClassDescriptionclassAWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of an Amazon Resource Name (ARN).classAWS access control policy condition that allows an access control statement to be conditionally applied based on a comparison of boolean values.classAWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of the current time at which a request is received, and a specific date.classAWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of the the incoming source IP address at the time of a request against a CIDR IP range.classAWS access control policy condition that allows an access control statement to be conditionally applied based on a numeric comparison.classString conditions let you constrain AWS access control policy statements using string matching rules.Methods in com.amazonaws.auth.policy.conditions that return ConditionModifier and TypeMethodDescriptionstatic ConditionS3ConditionFactory.newCannedACLCondition(CannedAccessControlList cannedAcl) Constructs a new access policy condition that compares an Amazon S3 canned ACL with the canned ACL specified by an incoming request.static ConditionSNSConditionFactory.newEndpointCondition(String endpointPattern) Constructs a new access policy condition that compares the requested endpoint used to subscribe to an Amazon SNS topic with the specified endpoint pattern.static ConditionSNSConditionFactory.newProtocolCondition(String protocol) Constructs a new AWS access control policy condition that allows an access control statement to restrict subscriptions to an Amazon SNS topic based on the protocol being used for the subscription.static ConditionConditionFactory.newRefererCondition(StringCondition.StringComparisonType comparisonType, String value) Constructs a new access control policy condition that tests the incoming request's referer field against the specified value, using the specified comparison type.static ConditionConditionFactory.newSecureTransportCondition()Constructs a new access control policy condition that tests if the incoming request was sent over a secure transport (HTTPS).static ConditionConditionFactory.newSourceArnCondition(String arnPattern) Constructs a new access policy condition that compares the Amazon Resource Name (ARN) of the source of an AWS resource that is modifying another AWS resource with the specified pattern.static ConditionConditionFactory.newUserAgentCondition(StringCondition.StringComparisonType comparisonType, String value) Constructs a new access control policy condition that tests the incoming request's user agent field against the specified value, using the specified comparison type.