We recommend new projects start with resources from the AWS provider.
aws-native.guardduty.getIpSet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::GuardDuty::IPSet
Using getIpSet
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 getIpSet(args: GetIpSetArgs, opts?: InvokeOptions): Promise<GetIpSetResult>
function getIpSetOutput(args: GetIpSetOutputArgs, opts?: InvokeOptions): Output<GetIpSetResult>
def get_ip_set(detector_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIpSetResult
def get_ip_set_output(detector_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIpSetResult]
func LookupIpSet(ctx *Context, args *LookupIpSetArgs, opts ...InvokeOption) (*LookupIpSetResult, error)
func LookupIpSetOutput(ctx *Context, args *LookupIpSetOutputArgs, opts ...InvokeOption) LookupIpSetResultOutput
> Note: This function is named LookupIpSet
in the Go SDK.
public static class GetIpSet
{
public static Task<GetIpSetResult> InvokeAsync(GetIpSetArgs args, InvokeOptions? opts = null)
public static Output<GetIpSetResult> Invoke(GetIpSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpSetResult> getIpSet(GetIpSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:guardduty:getIpSet
arguments:
# arguments dictionary
The following arguments are supported:
- Detector
Id string The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Id string
- Detector
Id string The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Id string
- detector
Id String The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- id String
- detector
Id string The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- id string
- detector_
id str The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- id str
- detector
Id String The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- id String
getIpSet Result
The following output properties are available:
- Id string
- Location string
- The URI of the file that contains the IPSet.
- Name string
The user-friendly name to identify the IPSet.
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- List<Pulumi.
Aws Native. Outputs. Tag> The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- Id string
- Location string
- The URI of the file that contains the IPSet.
- Name string
The user-friendly name to identify the IPSet.
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- Tag
The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- id String
- location String
- The URI of the file that contains the IPSet.
- name String
The user-friendly name to identify the IPSet.
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- List<Tag>
The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- id string
- location string
- The URI of the file that contains the IPSet.
- name string
The user-friendly name to identify the IPSet.
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- Tag[]
The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- id str
- location str
- The URI of the file that contains the IPSet.
- name str
The user-friendly name to identify the IPSet.
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- Sequence[root_Tag]
The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- id String
- location String
- The URI of the file that contains the IPSet.
- name String
The user-friendly name to identify the IPSet.
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
- List<Property Map>
The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
Supporting Types
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.