We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.rbin.getRule
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition for AWS::Rbin::Rule
Using getRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRule(args: GetRuleArgs, opts?: InvokeOptions): Promise<GetRuleResult>
function getRuleOutput(args: GetRuleOutputArgs, opts?: InvokeOptions): Output<GetRuleResult>def get_rule(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRuleResult
def get_rule_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuleResult]func LookupRule(ctx *Context, args *LookupRuleArgs, opts ...InvokeOption) (*LookupRuleResult, error)
func LookupRuleOutput(ctx *Context, args *LookupRuleOutputArgs, opts ...InvokeOption) LookupRuleResultOutput> Note: This function is named LookupRule in the Go SDK.
public static class GetRule
{
public static Task<GetRuleResult> InvokeAsync(GetRuleArgs args, InvokeOptions? opts = null)
public static Output<GetRuleResult> Invoke(GetRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuleResult> getRule(GetRuleArgs args, InvokeOptions options)
public static Output<GetRuleResult> getRule(GetRuleArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:rbin:getRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- Rule Arn is unique for each rule.
- Arn string
- Rule Arn is unique for each rule.
- arn String
- Rule Arn is unique for each rule.
- arn string
- Rule Arn is unique for each rule.
- arn str
- Rule Arn is unique for each rule.
- arn String
- Rule Arn is unique for each rule.
getRule Result
The following output properties are available:
- Arn string
- Rule Arn is unique for each rule.
- Description string
- The description of the retention rule.
-
List<Pulumi.
Aws Native. Rbin. Outputs. Rule Resource Tag> - Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- Identifier string
- The unique ID of the retention rule.
- Lock
State string - The lock state for the retention rule.
-
List<Pulumi.
Aws Native. Rbin. Outputs. Rule Resource Tag> - Information about the resource tags used to identify resources that are retained by the retention rule.
- Retention
Period Pulumi.Aws Native. Rbin. Outputs. Rule Retention Period - Information about the retention period for which the retention rule is to retain resources.
- Status string
- The state of the retention rule. Only retention rules that are in the available state retain resources.
-
List<Pulumi.
Aws Native. Outputs. Tag> - Information about the tags assigned to the retention rule.
- Arn string
- Rule Arn is unique for each rule.
- Description string
- The description of the retention rule.
-
[]Rule
Resource Tag - Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- Identifier string
- The unique ID of the retention rule.
- Lock
State string - The lock state for the retention rule.
-
[]Rule
Resource Tag - Information about the resource tags used to identify resources that are retained by the retention rule.
- Retention
Period RuleRetention Period - Information about the retention period for which the retention rule is to retain resources.
- Status string
- The state of the retention rule. Only retention rules that are in the available state retain resources.
- Tag
- Information about the tags assigned to the retention rule.
- arn String
- Rule Arn is unique for each rule.
- description String
- The description of the retention rule.
-
List<Rule
Resource Tag> - Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- identifier String
- The unique ID of the retention rule.
- lock
State String - The lock state for the retention rule.
-
List<Rule
Resource Tag> - Information about the resource tags used to identify resources that are retained by the retention rule.
- retention
Period RuleRetention Period - Information about the retention period for which the retention rule is to retain resources.
- status String
- The state of the retention rule. Only retention rules that are in the available state retain resources.
- List<Tag>
- Information about the tags assigned to the retention rule.
- arn string
- Rule Arn is unique for each rule.
- description string
- The description of the retention rule.
-
Rule
Resource Tag[] - Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- identifier string
- The unique ID of the retention rule.
- lock
State string - The lock state for the retention rule.
-
Rule
Resource Tag[] - Information about the resource tags used to identify resources that are retained by the retention rule.
- retention
Period RuleRetention Period - Information about the retention period for which the retention rule is to retain resources.
- status string
- The state of the retention rule. Only retention rules that are in the available state retain resources.
- Tag[]
- Information about the tags assigned to the retention rule.
- arn str
- Rule Arn is unique for each rule.
- description str
- The description of the retention rule.
-
Sequence[Rule
Resource Tag] - Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- identifier str
- The unique ID of the retention rule.
- lock_
state str - The lock state for the retention rule.
-
Sequence[Rule
Resource Tag] - Information about the resource tags used to identify resources that are retained by the retention rule.
- retention_
period RuleRetention Period - Information about the retention period for which the retention rule is to retain resources.
- status str
- The state of the retention rule. Only retention rules that are in the available state retain resources.
- Sequence[root_Tag]
- Information about the tags assigned to the retention rule.
- arn String
- Rule Arn is unique for each rule.
- description String
- The description of the retention rule.
- List<Property Map>
- Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- identifier String
- The unique ID of the retention rule.
- lock
State String - The lock state for the retention rule.
- List<Property Map>
- Information about the resource tags used to identify resources that are retained by the retention rule.
- retention
Period Property Map - Information about the retention period for which the retention rule is to retain resources.
- status String
- The state of the retention rule. Only retention rules that are in the available state retain resources.
- List<Property Map>
- Information about the tags assigned to the retention rule.
Supporting Types
RuleResourceTag
- Resource
Tag stringKey - The tag key of the resource.
- Resource
Tag stringValue - The tag value of the resource
- Resource
Tag stringKey - The tag key of the resource.
- Resource
Tag stringValue - The tag value of the resource
- resource
Tag StringKey - The tag key of the resource.
- resource
Tag StringValue - The tag value of the resource
- resource
Tag stringKey - The tag key of the resource.
- resource
Tag stringValue - The tag value of the resource
- resource_
tag_ strkey - The tag key of the resource.
- resource_
tag_ strvalue - The tag value of the resource
- resource
Tag StringKey - The tag key of the resource.
- resource
Tag StringValue - The tag value of the resource
RuleRetentionPeriod
- Retention
Period Pulumi.Unit Aws Native. Rbin. Rule Retention Period Retention Period Unit - The retention period unit of the rule
- Retention
Period intValue - The retention period value of the rule.
- Retention
Period RuleUnit Retention Period Retention Period Unit - The retention period unit of the rule
- Retention
Period intValue - The retention period value of the rule.
- retention
Period RuleUnit Retention Period Retention Period Unit - The retention period unit of the rule
- retention
Period IntegerValue - The retention period value of the rule.
- retention
Period RuleUnit Retention Period Retention Period Unit - The retention period unit of the rule
- retention
Period numberValue - The retention period value of the rule.
- retention_
period_ Ruleunit Retention Period Retention Period Unit - The retention period unit of the rule
- retention_
period_ intvalue - The retention period value of the rule.
- retention
Period "DAYS"Unit - The retention period unit of the rule
- retention
Period NumberValue - The retention period value of the rule.
RuleRetentionPeriodRetentionPeriodUnit
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
