We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi
Resource Type definition for AWS::GuardDuty::CustomDetectionRuleAssociation. Associates a GuardDuty custom detection rule with the caller’s account, enabling the rule in either LIVE or DRY_RUN mode.
Using getCustomDetectionRuleAssociation
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 getCustomDetectionRuleAssociation(args: GetCustomDetectionRuleAssociationArgs, opts?: InvokeOptions): Promise<GetCustomDetectionRuleAssociationResult>
function getCustomDetectionRuleAssociationOutput(args: GetCustomDetectionRuleAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetCustomDetectionRuleAssociationResult>def get_custom_detection_rule_association(association_id: Optional[str] = None,
rule_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomDetectionRuleAssociationResult
def get_custom_detection_rule_association_output(association_id: pulumi.Input[Optional[str]] = None,
rule_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCustomDetectionRuleAssociationResult]func LookupCustomDetectionRuleAssociation(ctx *Context, args *LookupCustomDetectionRuleAssociationArgs, opts ...InvokeOption) (*LookupCustomDetectionRuleAssociationResult, error)
func LookupCustomDetectionRuleAssociationOutput(ctx *Context, args *LookupCustomDetectionRuleAssociationOutputArgs, opts ...InvokeOption) LookupCustomDetectionRuleAssociationResultOutput> Note: This function is named LookupCustomDetectionRuleAssociation in the Go SDK.
public static class GetCustomDetectionRuleAssociation
{
public static Task<GetCustomDetectionRuleAssociationResult> InvokeAsync(GetCustomDetectionRuleAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetCustomDetectionRuleAssociationResult> Invoke(GetCustomDetectionRuleAssociationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCustomDetectionRuleAssociationResult> Invoke(GetCustomDetectionRuleAssociationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCustomDetectionRuleAssociationResult> getCustomDetectionRuleAssociation(GetCustomDetectionRuleAssociationArgs args, InvokeOptions options)
public static Output<GetCustomDetectionRuleAssociationResult> getCustomDetectionRuleAssociation(GetCustomDetectionRuleAssociationArgs args, InvokeOptions options)
public static Output<GetCustomDetectionRuleAssociationResult> getCustomDetectionRuleAssociation(GetCustomDetectionRuleAssociationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:guardduty:getCustomDetectionRuleAssociation
arguments:
# arguments dictionarydata "aws-native_guardduty_get_custom_detection_rule_association" "name" {
# arguments
}The following arguments are supported:
- Association
Id string - The service-generated unique identifier of the association.
- Rule
Id string - The catalog identifier of the custom detection rule to associate.
- Association
Id string - The service-generated unique identifier of the association.
- Rule
Id string - The catalog identifier of the custom detection rule to associate.
- association_
id string - The service-generated unique identifier of the association.
- rule_
id string - The catalog identifier of the custom detection rule to associate.
- association
Id String - The service-generated unique identifier of the association.
- rule
Id String - The catalog identifier of the custom detection rule to associate.
- association
Id string - The service-generated unique identifier of the association.
- rule
Id string - The catalog identifier of the custom detection rule to associate.
- association_
id str - The service-generated unique identifier of the association.
- rule_
id str - The catalog identifier of the custom detection rule to associate.
- association
Id String - The service-generated unique identifier of the association.
- rule
Id String - The catalog identifier of the custom detection rule to associate.
getCustomDetectionRuleAssociation Result
The following output properties are available:
- Account
Id string - The AWS account ID the association applies to.
- Arn string
- The Amazon Resource Name (ARN) of the association.
- Association
Id string - The service-generated unique identifier of the association.
- Created
At string - The time the association was created.
- Mode
Pulumi.
Aws Native. Guard Duty. Custom Detection Rule Association Mode - Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags applied to the association.
- Updated
At string - The time the association was last updated.
- Account
Id string - The AWS account ID the association applies to.
- Arn string
- The Amazon Resource Name (ARN) of the association.
- Association
Id string - The service-generated unique identifier of the association.
- Created
At string - The time the association was created.
- Mode
Custom
Detection Rule Association Mode - Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
- Tag
- The tags applied to the association.
- Updated
At string - The time the association was last updated.
- account_
id string - The AWS account ID the association applies to.
- arn string
- The Amazon Resource Name (ARN) of the association.
- association_
id string - The service-generated unique identifier of the association.
- created_
at string - The time the association was created.
- mode "LIVE" | "DRY_RUN"
- Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
- list(object)
- The tags applied to the association.
- updated_
at string - The time the association was last updated.
- account
Id String - The AWS account ID the association applies to.
- arn String
- The Amazon Resource Name (ARN) of the association.
- association
Id String - The service-generated unique identifier of the association.
- created
At String - The time the association was created.
- mode
Custom
Detection Rule Association Mode - Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
- List<Tag>
- The tags applied to the association.
- updated
At String - The time the association was last updated.
- account
Id string - The AWS account ID the association applies to.
- arn string
- The Amazon Resource Name (ARN) of the association.
- association
Id string - The service-generated unique identifier of the association.
- created
At string - The time the association was created.
- mode
Custom
Detection Rule Association Mode - Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
- Tag[]
- The tags applied to the association.
- updated
At string - The time the association was last updated.
- account_
id str - The AWS account ID the association applies to.
- arn str
- The Amazon Resource Name (ARN) of the association.
- association_
id str - The service-generated unique identifier of the association.
- created_
at str - The time the association was created.
- mode
Custom
Detection Rule Association Mode - Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
- Sequence[root_Tag]
- The tags applied to the association.
- updated_
at str - The time the association was last updated.
- account
Id String - The AWS account ID the association applies to.
- arn String
- The Amazon Resource Name (ARN) of the association.
- association
Id String - The service-generated unique identifier of the association.
- created
At String - The time the association was created.
- mode "LIVE" | "DRY_RUN"
- Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
- List<Property Map>
- The tags applied to the association.
- updated
At String - The time the association was last updated.
Supporting Types
CustomDetectionRuleAssociationMode
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.
published on Monday, Sep 7, 2026 by Pulumi