Class: Aws::VPCLattice::Types::PutAuthPolicyResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy ⇒ String

The auth policy. The policy string in JSON must not contain newlines or blank lines.

Returns:

  • (String)


4201
4202
4203
4204
4205
4206
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4201

class PutAuthPolicyResponse < Struct.new(
  :policy,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is NONE, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.

Returns:

  • (String)


4201
4202
4203
4204
4205
4206
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4201

class PutAuthPolicyResponse < Struct.new(
  :policy,
  :state)
  SENSITIVE = []
  include Aws::Structure
end