Documentation ¶
Index ¶
- type Graph
- type GraphArgs
- type GraphArray
- type GraphArrayInput
- type GraphArrayOutput
- type GraphInput
- type GraphMap
- type GraphMapInput
- type GraphMapOutput
- type GraphOutput
- func (GraphOutput) ElementType() reflect.Type
- func (o GraphOutput) ToGraphOutput() GraphOutput
- func (o GraphOutput) ToGraphOutputWithContext(ctx context.Context) GraphOutput
- func (o GraphOutput) ToGraphPtrOutput() GraphPtrOutput
- func (o GraphOutput) ToGraphPtrOutputWithContext(ctx context.Context) GraphPtrOutput
- type GraphPtrInput
- type GraphPtrOutput
- type GraphState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct { pulumi.CustomResourceState // Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // ARN of the Detective Graph. GraphArn pulumi.StringOutput `pulumi:"graphArn"` // A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage an [AWS Detective Graph](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateGraph.html). As an AWS account may own only one Detective graph per region, provisioning multiple Detective graphs requires a separate provider configuration for each graph.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/detective" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := detective.NewGraph(ctx, "example", &detective.GraphArgs{ Tags: pulumi.StringMap{ "Name": pulumi.String("example-detective-graph"), }, }) if err != nil { return err } return nil }) }
```
## Import
`aws_detective_graph` can be imported using the arn, e.g.
```sh
$ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
```
func GetGraph ¶
func GetGraph(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GraphState, opts ...pulumi.ResourceOption) (*Graph, error)
GetGraph gets an existing Graph resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGraph ¶
func NewGraph(ctx *pulumi.Context, name string, args *GraphArgs, opts ...pulumi.ResourceOption) (*Graph, error)
NewGraph registers a new resource with the given unique name, arguments, and options.
func (*Graph) ElementType ¶
func (*Graph) ToGraphOutput ¶
func (i *Graph) ToGraphOutput() GraphOutput
func (*Graph) ToGraphOutputWithContext ¶
func (i *Graph) ToGraphOutputWithContext(ctx context.Context) GraphOutput
func (*Graph) ToGraphPtrOutput ¶
func (i *Graph) ToGraphPtrOutput() GraphPtrOutput
func (*Graph) ToGraphPtrOutputWithContext ¶
func (i *Graph) ToGraphPtrOutputWithContext(ctx context.Context) GraphPtrOutput
type GraphArgs ¶
type GraphArgs struct { // A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput TagsAll pulumi.StringMapInput }
The set of arguments for constructing a Graph resource.
func (GraphArgs) ElementType ¶
type GraphArray ¶
type GraphArray []GraphInput
func (GraphArray) ElementType ¶
func (GraphArray) ElementType() reflect.Type
func (GraphArray) ToGraphArrayOutput ¶
func (i GraphArray) ToGraphArrayOutput() GraphArrayOutput
func (GraphArray) ToGraphArrayOutputWithContext ¶
func (i GraphArray) ToGraphArrayOutputWithContext(ctx context.Context) GraphArrayOutput
type GraphArrayInput ¶
type GraphArrayInput interface { pulumi.Input ToGraphArrayOutput() GraphArrayOutput ToGraphArrayOutputWithContext(context.Context) GraphArrayOutput }
GraphArrayInput is an input type that accepts GraphArray and GraphArrayOutput values. You can construct a concrete instance of `GraphArrayInput` via:
GraphArray{ GraphArgs{...} }
type GraphArrayOutput ¶
type GraphArrayOutput struct{ *pulumi.OutputState }
func (GraphArrayOutput) ElementType ¶
func (GraphArrayOutput) ElementType() reflect.Type
func (GraphArrayOutput) Index ¶
func (o GraphArrayOutput) Index(i pulumi.IntInput) GraphOutput
func (GraphArrayOutput) ToGraphArrayOutput ¶
func (o GraphArrayOutput) ToGraphArrayOutput() GraphArrayOutput
func (GraphArrayOutput) ToGraphArrayOutputWithContext ¶
func (o GraphArrayOutput) ToGraphArrayOutputWithContext(ctx context.Context) GraphArrayOutput
type GraphInput ¶
type GraphInput interface { pulumi.Input ToGraphOutput() GraphOutput ToGraphOutputWithContext(ctx context.Context) GraphOutput }
type GraphMap ¶
type GraphMap map[string]GraphInput
func (GraphMap) ElementType ¶
func (GraphMap) ToGraphMapOutput ¶
func (i GraphMap) ToGraphMapOutput() GraphMapOutput
func (GraphMap) ToGraphMapOutputWithContext ¶
func (i GraphMap) ToGraphMapOutputWithContext(ctx context.Context) GraphMapOutput
type GraphMapInput ¶
type GraphMapInput interface { pulumi.Input ToGraphMapOutput() GraphMapOutput ToGraphMapOutputWithContext(context.Context) GraphMapOutput }
GraphMapInput is an input type that accepts GraphMap and GraphMapOutput values. You can construct a concrete instance of `GraphMapInput` via:
GraphMap{ "key": GraphArgs{...} }
type GraphMapOutput ¶
type GraphMapOutput struct{ *pulumi.OutputState }
func (GraphMapOutput) ElementType ¶
func (GraphMapOutput) ElementType() reflect.Type
func (GraphMapOutput) MapIndex ¶
func (o GraphMapOutput) MapIndex(k pulumi.StringInput) GraphOutput
func (GraphMapOutput) ToGraphMapOutput ¶
func (o GraphMapOutput) ToGraphMapOutput() GraphMapOutput
func (GraphMapOutput) ToGraphMapOutputWithContext ¶
func (o GraphMapOutput) ToGraphMapOutputWithContext(ctx context.Context) GraphMapOutput
type GraphOutput ¶
type GraphOutput struct{ *pulumi.OutputState }
func (GraphOutput) ElementType ¶
func (GraphOutput) ElementType() reflect.Type
func (GraphOutput) ToGraphOutput ¶
func (o GraphOutput) ToGraphOutput() GraphOutput
func (GraphOutput) ToGraphOutputWithContext ¶
func (o GraphOutput) ToGraphOutputWithContext(ctx context.Context) GraphOutput
func (GraphOutput) ToGraphPtrOutput ¶
func (o GraphOutput) ToGraphPtrOutput() GraphPtrOutput
func (GraphOutput) ToGraphPtrOutputWithContext ¶
func (o GraphOutput) ToGraphPtrOutputWithContext(ctx context.Context) GraphPtrOutput
type GraphPtrInput ¶
type GraphPtrInput interface { pulumi.Input ToGraphPtrOutput() GraphPtrOutput ToGraphPtrOutputWithContext(ctx context.Context) GraphPtrOutput }
type GraphPtrOutput ¶
type GraphPtrOutput struct{ *pulumi.OutputState }
func (GraphPtrOutput) Elem ¶
func (o GraphPtrOutput) Elem() GraphOutput
func (GraphPtrOutput) ElementType ¶
func (GraphPtrOutput) ElementType() reflect.Type
func (GraphPtrOutput) ToGraphPtrOutput ¶
func (o GraphPtrOutput) ToGraphPtrOutput() GraphPtrOutput
func (GraphPtrOutput) ToGraphPtrOutputWithContext ¶
func (o GraphPtrOutput) ToGraphPtrOutputWithContext(ctx context.Context) GraphPtrOutput
type GraphState ¶
type GraphState struct { // Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created. CreatedTime pulumi.StringPtrInput // ARN of the Detective Graph. GraphArn pulumi.StringPtrInput // A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput TagsAll pulumi.StringMapInput }
func (GraphState) ElementType ¶
func (GraphState) ElementType() reflect.Type