PolicyState class

Input properties used for looking up and filtering Policy resources.

Constructors

PolicyState({Input<String?>? arn, Input<int?>? attachmentCount, Input<int?>? delayAfterPolicyCreationInMs, Input<String?>? description, Input<String?>? name, Input<String?>? namePrefix, Input<String?>? path, Input? policy, Input<String?>? policyId, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
Creates a new PolicyState. arn ARN assigned by AWS to this policy. attachmentCount Number of entities (users, groups, and roles) that the policy is attached to. delayAfterPolicyCreationInMs Number of ms to wait between creating the policy and setting its version as default. May be required in environments with very high S3 IO loads. description Description of the IAM policy. name Name of the policy. If omitted, the provider will assign a random, unique name. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. path Path in which to create the policy. See IAM Identifiers for more information. policy Policy document. This is a JSON formatted string. For more information about building AWS IAM policy documents, see the AWS IAM Policy Document Guide policyId Policy's ID. tags Map of resource tags for the IAM Policy. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
const
PolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN assigned by AWS to this policy.
final
attachmentCount → Input<int?>?
Number of entities (users, groups, and roles) that the policy is attached to.
final
delayAfterPolicyCreationInMs → Input<int?>?
Number of ms to wait between creating the policy and setting its version as default. May be required in environments with very high S3 IO loads.
final
description → Input<String?>?
Description of the IAM policy.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the policy. If omitted, the provider will assign a random, unique name.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
path → Input<String?>?
Path in which to create the policy. See IAM Identifiers for more information.
final
policy → Input?
Policy document. This is a JSON formatted string. For more information about building AWS IAM policy documents, see the AWS IAM Policy Document Guide
final
policyId → Input<String?>?
Policy's ID.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Map of resource tags for the IAM Policy. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited