Manages a Network Flow Monitor Scope.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const current = aws.getCallerIdentity({});
const example = new aws.networkflowmonitor.Scope("example", {
targets: [{
region: "us-east-1",
targetIdentifier: {
targetType: "ACCOUNT",
targetId: {
accountId: current.then(current => current.accountId),
},
},
}],
tags: {
Name: "example",
},
});
import pulumi
import pulumi_aws as aws
current = aws.get_caller_identity()
example = aws.networkflowmonitor.Scope("example",
targets=[{
"region": "us-east-1",
"target_identifier": {
"target_type": "ACCOUNT",
"target_id": {
"account_id": current.account_id,
},
},
}],
tags={
"Name": "example",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/networkflowmonitor"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil)
if err != nil {
return err
}
_, err = networkflowmonitor.NewScope(ctx, "example", &networkflowmonitor.ScopeArgs{
Targets: networkflowmonitor.ScopeTargetArray{
&networkflowmonitor.ScopeTargetArgs{
Region: pulumi.String("us-east-1"),
TargetIdentifier: &networkflowmonitor.ScopeTargetTargetIdentifierArgs{
TargetType: pulumi.String("ACCOUNT"),
TargetId: &networkflowmonitor.ScopeTargetTargetIdentifierTargetIdArgs{
AccountId: pulumi.String(current.AccountId),
},
},
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var current = Aws.GetCallerIdentity.Invoke();
var example = new Aws.Networkflowmonitor.Scope("example", new()
{
Targets = new[]
{
new Aws.Networkflowmonitor.Inputs.ScopeTargetArgs
{
Region = "us-east-1",
TargetIdentifier = new Aws.Networkflowmonitor.Inputs.ScopeTargetTargetIdentifierArgs
{
TargetType = "ACCOUNT",
TargetId = new Aws.Networkflowmonitor.Inputs.ScopeTargetTargetIdentifierTargetIdArgs
{
AccountId = current.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId),
},
},
},
},
Tags =
{
{ "Name", "example" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.AwsFunctions;
import com.pulumi.aws.inputs.GetCallerIdentityArgs;
import com.pulumi.aws.networkflowmonitor.Scope;
import com.pulumi.aws.networkflowmonitor.ScopeArgs;
import com.pulumi.aws.networkflowmonitor.inputs.ScopeTargetArgs;
import com.pulumi.aws.networkflowmonitor.inputs.ScopeTargetTargetIdentifierArgs;
import com.pulumi.aws.networkflowmonitor.inputs.ScopeTargetTargetIdentifierTargetIdArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var current = AwsFunctions.getCallerIdentity(GetCallerIdentityArgs.builder()
.build());
var example = new Scope("example", ScopeArgs.builder()
.targets(ScopeTargetArgs.builder()
.region("us-east-1")
.targetIdentifier(ScopeTargetTargetIdentifierArgs.builder()
.targetType("ACCOUNT")
.targetId(ScopeTargetTargetIdentifierTargetIdArgs.builder()
.accountId(current.accountId())
.build())
.build())
.build())
.tags(Map.of("Name", "example"))
.build());
}
}
resources:
example:
type: aws:networkflowmonitor:Scope
properties:
targets:
- region: us-east-1
targetIdentifier:
targetType: ACCOUNT
targetId:
accountId: ${current.accountId}
tags:
Name: example
variables:
current:
fn::invoke:
function: aws:getCallerIdentity
arguments: {}
Create Scope Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Scope(name: string, args?: ScopeArgs, opts?: CustomResourceOptions);@overload
def Scope(resource_name: str,
args: Optional[ScopeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Scope(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
targets: Optional[Sequence[ScopeTargetArgs]] = None,
timeouts: Optional[ScopeTimeoutsArgs] = None)func NewScope(ctx *Context, name string, args *ScopeArgs, opts ...ResourceOption) (*Scope, error)public Scope(string name, ScopeArgs? args = null, CustomResourceOptions? opts = null)type: aws:networkflowmonitor:Scope
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScopeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScopeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScopeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScopeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScopeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scopeResource = new Aws.Networkflowmonitor.Scope("scopeResource", new()
{
Region = "string",
Tags =
{
{ "string", "string" },
},
Targets = new[]
{
new Aws.Networkflowmonitor.Inputs.ScopeTargetArgs
{
Region = "string",
TargetIdentifier = new Aws.Networkflowmonitor.Inputs.ScopeTargetTargetIdentifierArgs
{
TargetType = "string",
TargetId = new Aws.Networkflowmonitor.Inputs.ScopeTargetTargetIdentifierTargetIdArgs
{
AccountId = "string",
},
},
},
},
Timeouts = new Aws.Networkflowmonitor.Inputs.ScopeTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := networkflowmonitor.NewScope(ctx, "scopeResource", &networkflowmonitor.ScopeArgs{
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Targets: networkflowmonitor.ScopeTargetArray{
&networkflowmonitor.ScopeTargetArgs{
Region: pulumi.String("string"),
TargetIdentifier: &networkflowmonitor.ScopeTargetTargetIdentifierArgs{
TargetType: pulumi.String("string"),
TargetId: &networkflowmonitor.ScopeTargetTargetIdentifierTargetIdArgs{
AccountId: pulumi.String("string"),
},
},
},
},
Timeouts: &networkflowmonitor.ScopeTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var scopeResource = new Scope("scopeResource", ScopeArgs.builder()
.region("string")
.tags(Map.of("string", "string"))
.targets(ScopeTargetArgs.builder()
.region("string")
.targetIdentifier(ScopeTargetTargetIdentifierArgs.builder()
.targetType("string")
.targetId(ScopeTargetTargetIdentifierTargetIdArgs.builder()
.accountId("string")
.build())
.build())
.build())
.timeouts(ScopeTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
scope_resource = aws.networkflowmonitor.Scope("scopeResource",
region="string",
tags={
"string": "string",
},
targets=[{
"region": "string",
"target_identifier": {
"target_type": "string",
"target_id": {
"account_id": "string",
},
},
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const scopeResource = new aws.networkflowmonitor.Scope("scopeResource", {
region: "string",
tags: {
string: "string",
},
targets: [{
region: "string",
targetIdentifier: {
targetType: "string",
targetId: {
accountId: "string",
},
},
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:networkflowmonitor:Scope
properties:
region: string
tags:
string: string
targets:
- region: string
targetIdentifier:
targetId:
accountId: string
targetType: string
timeouts:
create: string
delete: string
update: string
Scope Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Scope resource accepts the following input properties:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Targets
List<Scope
Target> The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- Timeouts
Scope
Timeouts
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Targets
[]Scope
Target Args The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- Timeouts
Scope
Timeouts Args
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - targets
List<Scope
Target> The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts
Scope
Timeouts
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - targets
Scope
Target[] The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts
Scope
Timeouts
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - targets
Sequence[Scope
Target Args] The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts
Scope
Timeouts Args
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - targets List<Property Map>
The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Scope resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Scope
Arn string - The Amazon Resource Name (ARN) of the scope.
- Scope
Id string - The identifier for the scope that includes the resources you want to get data results for.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scope
Arn string - The Amazon Resource Name (ARN) of the scope.
- Scope
Id string - The identifier for the scope that includes the resources you want to get data results for.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- id String
- The provider-assigned unique ID for this managed resource.
- scope
Arn String - The Amazon Resource Name (ARN) of the scope.
- scope
Id String - The identifier for the scope that includes the resources you want to get data results for.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- id string
- The provider-assigned unique ID for this managed resource.
- scope
Arn string - The Amazon Resource Name (ARN) of the scope.
- scope
Id string - The identifier for the scope that includes the resources you want to get data results for.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- id str
- The provider-assigned unique ID for this managed resource.
- scope_
arn str - The Amazon Resource Name (ARN) of the scope.
- scope_
id str - The identifier for the scope that includes the resources you want to get data results for.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- id String
- The provider-assigned unique ID for this managed resource.
- scope
Arn String - The Amazon Resource Name (ARN) of the scope.
- scope
Id String - The identifier for the scope that includes the resources you want to get data results for.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing Scope Resource
Get an existing Scope resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ScopeState, opts?: CustomResourceOptions): Scope@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
scope_arn: Optional[str] = None,
scope_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
targets: Optional[Sequence[ScopeTargetArgs]] = None,
timeouts: Optional[ScopeTimeoutsArgs] = None) -> Scopefunc GetScope(ctx *Context, name string, id IDInput, state *ScopeState, opts ...ResourceOption) (*Scope, error)public static Scope Get(string name, Input<string> id, ScopeState? state, CustomResourceOptions? opts = null)public static Scope get(String name, Output<String> id, ScopeState state, CustomResourceOptions options)resources: _: type: aws:networkflowmonitor:Scope get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Scope
Arn string - The Amazon Resource Name (ARN) of the scope.
- Scope
Id string - The identifier for the scope that includes the resources you want to get data results for.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Targets
List<Scope
Target> The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- Timeouts
Scope
Timeouts
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Scope
Arn string - The Amazon Resource Name (ARN) of the scope.
- Scope
Id string - The identifier for the scope that includes the resources you want to get data results for.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Targets
[]Scope
Target Args The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- Timeouts
Scope
Timeouts Args
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- scope
Arn String - The Amazon Resource Name (ARN) of the scope.
- scope
Id String - The identifier for the scope that includes the resources you want to get data results for.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - targets
List<Scope
Target> The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts
Scope
Timeouts
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- scope
Arn string - The Amazon Resource Name (ARN) of the scope.
- scope
Id string - The identifier for the scope that includes the resources you want to get data results for.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - targets
Scope
Target[] The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts
Scope
Timeouts
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- scope_
arn str - The Amazon Resource Name (ARN) of the scope.
- scope_
id str - The identifier for the scope that includes the resources you want to get data results for.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - targets
Sequence[Scope
Target Args] The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts
Scope
Timeouts Args
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- scope
Arn String - The Amazon Resource Name (ARN) of the scope.
- scope
Id String - The identifier for the scope that includes the resources you want to get data results for.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - targets List<Property Map>
The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
The following arguments are optional:
- timeouts Property Map
Supporting Types
ScopeTarget, ScopeTargetArgs
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Target
Identifier ScopeTarget Target Identifier - A target identifier is a pair of identifying information for a scope.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Target
Identifier ScopeTarget Target Identifier - A target identifier is a pair of identifying information for a scope.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target
Identifier ScopeTarget Target Identifier - A target identifier is a pair of identifying information for a scope.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target
Identifier ScopeTarget Target Identifier - A target identifier is a pair of identifying information for a scope.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target_
identifier ScopeTarget Target Identifier - A target identifier is a pair of identifying information for a scope.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target
Identifier Property Map - A target identifier is a pair of identifying information for a scope.
ScopeTargetTargetIdentifier, ScopeTargetTargetIdentifierArgs
- Target
Type string - The type of a target. A target type is currently always
ACCOUNT. - Target
Id ScopeTarget Target Identifier Target Id - The identifier for a target, which is currently always an account ID.
- Target
Type string - The type of a target. A target type is currently always
ACCOUNT. - Target
Id ScopeTarget Target Identifier Target Id - The identifier for a target, which is currently always an account ID.
- target
Type String - The type of a target. A target type is currently always
ACCOUNT. - target
Id ScopeTarget Target Identifier Target Id - The identifier for a target, which is currently always an account ID.
- target
Type string - The type of a target. A target type is currently always
ACCOUNT. - target
Id ScopeTarget Target Identifier Target Id - The identifier for a target, which is currently always an account ID.
- target_
type str - The type of a target. A target type is currently always
ACCOUNT. - target_
id ScopeTarget Target Identifier Target Id - The identifier for a target, which is currently always an account ID.
- target
Type String - The type of a target. A target type is currently always
ACCOUNT. - target
Id Property Map - The identifier for a target, which is currently always an account ID.
ScopeTargetTargetIdentifierTargetId, ScopeTargetTargetIdentifierTargetIdArgs
- Account
Id string - AWS account ID.
- Account
Id string - AWS account ID.
- account
Id String - AWS account ID.
- account
Id string - AWS account ID.
- account_
id str - AWS account ID.
- account
Id String - AWS account ID.
ScopeTimeouts, ScopeTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import, import Network Flow Monitor Scope using the scope ID. For example:
$ pulumi import aws:networkflowmonitor/scope:Scope example example-scope-id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
