We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::Oam::Sink
Create Sink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Sink(name: string, args?: SinkArgs, opts?: CustomResourceOptions);@overload
def Sink(resource_name: str,
args: Optional[SinkArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Sink(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
policy: Optional[Any] = None,
tags: Optional[Mapping[str, str]] = None)func NewSink(ctx *Context, name string, args *SinkArgs, opts ...ResourceOption) (*Sink, error)public Sink(string name, SinkArgs? args = null, CustomResourceOptions? opts = null)type: aws-native:oam:Sink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_oam_sink" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SinkArgs
- 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 SinkArgs
- 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 SinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Sink 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 Sink resource accepts the following input properties:
- Name string
- The name of the ObservabilityAccessManager Sink.
- Policy object
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- Dictionary<string, string>
- Tags to apply to the sink
- Name string
- The name of the ObservabilityAccessManager Sink.
- Policy interface{}
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- map[string]string
- Tags to apply to the sink
- name string
- The name of the ObservabilityAccessManager Sink.
- policy any
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- map(string)
- Tags to apply to the sink
- name String
- The name of the ObservabilityAccessManager Sink.
- policy Object
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- Map<String,String>
- Tags to apply to the sink
- name string
- The name of the ObservabilityAccessManager Sink.
- policy any
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- {[key: string]: string}
- Tags to apply to the sink
- name str
- The name of the ObservabilityAccessManager Sink.
- policy Any
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- Mapping[str, str]
- Tags to apply to the sink
- name String
- The name of the ObservabilityAccessManager Sink.
- policy Any
The policy of this ObservabilityAccessManager Sink.
Search the CloudFormation User Guide for
AWS::Oam::Sinkfor more information about the expected schema for this property.- Map<String>
- Tags to apply to the sink
Outputs
All input properties are implicitly available as output properties. Additionally, the Sink resource produces the following output properties:
Look up Existing Sink Resource
Get an existing Sink 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>, opts?: CustomResourceOptions): Sink@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Sinkfunc GetSink(ctx *Context, name string, id IDInput, state *SinkState, opts ...ResourceOption) (*Sink, error)public static Sink Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Sink get(String name, Output<String> id, CustomResourceOptions options)resources: existingSink: type: aws-native:oam:Sink get: id: ${id}import {
to = aws-native_oam_sink.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SinkState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
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 Wednesday, Nov 18, 2026 by Pulumi