PermissionState class
Input properties used for looking up and filtering Permission resources.
Constructors
-
PermissionState({Input<
String?> ? arn, Input<bool?> ? defaultVersion, Input<String?> ? name, Input<String?> ? policyTemplate, Input<String?> ? region, Input<String?> ? resourceType, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>PermissionTimeouts?> ? timeouts, Input<String?> ? version}) -
Creates a new PermissionState.
arnARN of the permission.defaultVersionWhether this is the default version of the managed permission.nameName of the customer managed permission. The name must be unique within the AWS Region.policyTemplateString in JSON format string that contains the following elements of a resource-based policy: Effect, Action and Condition.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceTypeName of the resource type that this customer managed permission applies to. The format is<service-code>:<resource-type>and is not case sensitive.statusCurrent status of the permission.tagsMap of tags to assign to the resource share. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.timeoutsOptional.versionVersion of the permission associated with this resource share.const -
PermissionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the permission.
final
-
defaultVersion
→ Input<
bool?> ? -
Whether this is the default version of the managed permission.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the customer managed permission. The name must be unique within the AWS Region.
final
-
policyTemplate
→ Input<
String?> ? -
String in JSON format string that contains the following elements of a resource-based policy: Effect, Action and Condition.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceType
→ Input<
String?> ? -
Name of the resource type that this customer managed permission applies to. The format is
<service-code>:<resource-type>and is not case sensitive.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Input<
String?> ? -
Current status of the permission.
final
-
Map of tags to assign to the resource share. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
timeouts
→ Input<
PermissionTimeouts?> ? -
final
-
version
→ Input<
String?> ? -
Version of the permission associated with this resource share.
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