Uses of Class
com.amazonaws.auth.policy.Condition
-
Packages that use Condition Package Description com.amazonaws.auth.policy Classes for creating custom AWS access control policies.com.amazonaws.auth.policy.conditions Collection of AWS access control policy conditions. -
-
Uses of Condition in com.amazonaws.auth.policy
Methods in com.amazonaws.auth.policy that return Condition Modifier and Type Method Description ConditionCondition. withConditionKey(String key)Fluent version ofsetConditionKey(String)ConditionCondition. withType(String type)Fluent version ofsetType(String)ConditionCondition. withValues(String... values)Fluent version ofsetValues(List)ConditionCondition. withValues(List<String> values)Fluent version ofsetValues(List)Methods in com.amazonaws.auth.policy that return types with arguments of type Condition Modifier and Type Method Description List<Condition>Statement. getConditions()Returns the conditions associated with this policy statement.Methods in com.amazonaws.auth.policy with parameters of type Condition Modifier and Type Method Description StatementStatement. 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 Condition Modifier and Type Method Description voidStatement. 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.conditions Modifier and Type Class Description classArnConditionAWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of an Amazon Resource Name (ARN).classBooleanConditionAWS access control policy condition that allows an access control statement to be conditionally applied based on a comparison of boolean values.classDateConditionAWS 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.classIpAddressConditionAWS 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.classNumericConditionAWS access control policy condition that allows an access control statement to be conditionally applied based on a numeric comparison.classStringConditionString conditions let you constrain AWS access control policy statements using string matching rules.Methods in com.amazonaws.auth.policy.conditions that return Condition Modifier and Type Method Description static 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.
-